mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-03-16 18:03:03 +00:00
feat: dump t6 shader args
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "ObjWriting.h"
|
||||
#include "Zone/ZoneRegistry.h"
|
||||
|
||||
namespace T5
|
||||
namespace
|
||||
{
|
||||
const char* KNOWN_CONSTANT_NAMES[]{
|
||||
"AngularVelocityScale",
|
||||
@@ -471,7 +471,10 @@ namespace T5
|
||||
"ui3d",
|
||||
"ui3dSampler",
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace T5
|
||||
{
|
||||
void MaterialConstantZoneState::ExtractNamesFromZoneInternal()
|
||||
{
|
||||
for (const auto* zone : ZoneRegistry::GetRegistryForGame(GameId::T5)->Zones())
|
||||
@@ -493,7 +496,7 @@ namespace T5
|
||||
}
|
||||
}
|
||||
|
||||
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