Material CRC32
RwMaterialCRC32 | |||
---|---|---|---|
Type ID | 0xB | ||
Category | Generic | ||
Memory distribution |
Main Memory only | ||
Imported by | Material | ||
Editor available? |
No |
To do: Find out how the CRCs are calculated and what the shader names are. |
The material CRC32 resource type holds hashes for the vertex and pixel shader programs and the material state. These hashes are used to determine the names of the resources so they can be loaded.
This resource type is unused after Burnout 5 (2006-11-13 build) as it is replaced by a normal import-based solution.
Structures
MaterialCRC32
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | m_vertexProgramBuffer | Vertex shader program hash | |
0x4 | 0x4 | uint32_t | m_pixelProgramBuffer | Pixel shader program hash | |
0x8 | 0x4 | uint32_t | m_materialState | Material state hash | Resource names are materialstate* * is the decimal hash value |