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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user