Renderable: Difference between revisions
Remove vertex data section as it is described by vertex descriptor resources.
(Add info on packed OOBB.) |
(Remove vertex data section as it is described by vertex descriptor resources.) |
||
Line 12:
The Renderable resource type is used for all model data in Burnout Paradise; that is, Renderables contain the data used by each [[Model]] resource.
Each Renderable contains one or more meshes, each of which is made up of an index buffer, a vertex buffer, and a set of [[Vertex Descriptor|vertex descriptors]]. The vertex descriptors define the data in the vertex buffers.
= Structures =
Line 339:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || void* || m_buffer || Buffer data || In secondary resource portion
|-
| 0x4 || 0x4 || uint32_t || m_offset || Offset relative to data start ||
Line 443:
| 0x18 || 0x4 || uint32_t || ? || Data size ||
|}
= Enumerations =
|