mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-24 05:32:06 +00:00
feat: dump t6 shader args
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "ObjWriting.h"
|
||||
#include "Zone/ZoneRegistry.h"
|
||||
|
||||
namespace IW3
|
||||
namespace
|
||||
{
|
||||
const char* KNOWN_CONSTANT_NAMES[]{
|
||||
"worldViewProjectionMatrix",
|
||||
@@ -197,7 +197,10 @@ namespace IW3
|
||||
"worldMap",
|
||||
"worldMapSampler",
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace IW3
|
||||
{
|
||||
void MaterialConstantZoneState::ExtractNamesFromZoneInternal()
|
||||
{
|
||||
for (const auto* zone : ZoneRegistry::GetRegistryForGame(GameId::IW3)->Zones())
|
||||
@@ -219,7 +222,7 @@ namespace IW3
|
||||
}
|
||||
}
|
||||
|
||||
unsigned MaterialConstantZoneState::HashString(const std::string& str)
|
||||
unsigned MaterialConstantZoneState::HashString(const std::string& str) const
|
||||
{
|
||||
return Common::R_HashString(str.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user