2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-25 22:13:02 +00:00

chore: make sure iw5 can use its special vertex material samplers

This commit is contained in:
Jan Laupetin
2026-03-19 00:12:14 +01:00
parent a497efe67b
commit 2ba00acedd
3 changed files with 58 additions and 14 deletions

View File

@@ -33,7 +33,9 @@ namespace techset
enum class CommonTechniqueShaderType : std::uint8_t
{
VERTEX,
PIXEL
PIXEL,
COUNT
};
enum class CommonShaderValueType : std::uint8_t
@@ -47,7 +49,9 @@ namespace techset
// Value is set to a sampler from the material
MATERIAL_SAMPLER,
// Value is set to a sampler generated in code
CODE_SAMPLER
CODE_SAMPLER,
COUNT
};
constexpr bool IsConstValueType(const CommonShaderValueType valueType)