2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-05 12:33:02 +00:00

chore: add logic for computing precompiled index on material pass

This commit is contained in:
Jan Laupetin
2026-03-02 22:07:55 +00:00
parent 925e51cb10
commit 1611c222cc
10 changed files with 291 additions and 12 deletions

View File

@@ -3001,7 +3001,7 @@ namespace T6
VERTEX_SHADER_MODEL_UNLIT,
};
enum CustomSamplers
enum CustomSampler
{
CUSTOM_SAMPLER_REFLECTION_PROBE = 0,
CUSTOM_SAMPLER_LIGHTMAP_SECONDARY,
@@ -6191,7 +6191,7 @@ namespace T6
unsigned int nameHash;
};
enum MaterialShaderArgumentType
enum MaterialShaderArgumentType : uint16_t
{
MTL_ARG_MATERIAL_VERTEX_CONST = 0x0,
MTL_ARG_LITERAL_VERTEX_CONST = 0x1,
@@ -6213,7 +6213,7 @@ namespace T6
struct MaterialShaderArgument
{
uint16_t type;
MaterialShaderArgumentType type;
MaterialArgumentLocation location;
uint16_t size;
uint16_t buffer;