Material: Difference between revisions
Content added Content deleted
m (Linked development subpage.) |
(Update constant name info) |
||
Line 191: | Line 191: | ||
| 0x8 || 0x4 || uint32_t** || mppaConstantsInstanceData || Instance data || float[4] |
| 0x8 || 0x4 || uint32_t** || mppaConstantsInstanceData || Instance data || float[4] |
||
|- |
|- |
||
| 0xC || 0x4 || uint32_t* || mpauNamesHash || Instance names || Hashes map to [[Shader_Technique#CgsGraphics::ShaderConstantHashTable|ShaderConstantHashTable]] in |
| 0xC || 0x4 || uint32_t* || mpauNamesHash || Instance names || Hashes map to [[Shader_Technique#CgsGraphics::ShaderConstantHashTable|ShaderConstantHashTable]] in imported shader technique (via imported material technique) |
||
|- |
|- |
||
| 0x10 || 0x4 || [[#renderengine::ProgramVariableHandle|ProgramVariableHandle]]* || mpaProgramStateHandles || Instance handles || |
| 0x10 || 0x4 || [[#renderengine::ProgramVariableHandle|ProgramVariableHandle]]* || mpaProgramStateHandles || Instance handles || |
||
Line 206: | Line 206: | ||
| 0x8 || 0x4 || uint32_t** || mppaConstantsInstanceData || Instance data || float[4] |
| 0x8 || 0x4 || uint32_t** || mppaConstantsInstanceData || Instance data || float[4] |
||
|- |
|- |
||
| 0xC || 0x4 || uint32_t* || mpauNamesHash || Instance names || |
| 0xC || 0x4 || uint32_t* || mpauNamesHash || Instance names || JAMCRC. Original constant names can be found in the imported [[Shader]] resource |
||
|} |
|} |
||
Line 221: | Line 221: | ||
| 0x10 || 0x8 || uint32_t** || mppaConstantsInstanceData || Instance data || float[4] |
| 0x10 || 0x8 || uint32_t** || mppaConstantsInstanceData || Instance data || float[4] |
||
|- |
|- |
||
| 0x18 || 0x8 || uint32_t* || mpauNamesHash || Instance names || |
| 0x18 || 0x8 || uint32_t* || mpauNamesHash || Instance names || JAMCRC. Original constant names can be found in the imported [[Shader]] resource |
||
|} |
|} |
||