Material CRC32

From Burnout Wiki
RwMaterialCRC32
aka {{{othernames}}}
No Example
Resource names Unknown
Type ID 0xB
Category Generic
Memory
distribution
Main Memory only
Imports Unknown
Imported by Material
Editor
available?
No
Hmmm...
Hmmm...
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