Mesh State

From Burnout Wiki
MeshState
aka {{{othernames}}}
No Example
Resource names Unknown
Type ID 0x6
Category Generic
Memory
distribution
Main Memory only
Imports Index Buffer
Vertex Buffer
Imported by Renderable Mesh
Editor
available?
No

Mesh states describe the state of renderable meshes. They are used as an middleman to import the index and vertex buffers.

The only known use of this type is in Black 2 (2006-06-29 build); it was deprecated by the time Burnout 5 (2006-11-13 build) was built.

Structures

Note: Import fields contain a static memory address, as with other resources types of this era. It is possible this is unused and instead set at runtime.

Mesh state

Offset Length Type Name Description Comments
0x0 0x4 IndexBuffer* ? Imported index buffer resource
0x4 0x1 uint8_t ? Always 1
0x5 0x3 ? ? Padding? Always null
0x8 0x4 uint32_t ? Always 1
0xC 0x4 VertexBuffer* ? Imported vertex buffer resource
0x10 0x4 uint32_t ? Size of data following vertex buffer header