Renderable Mesh: Difference between revisions
Content added Content deleted
(Created page.) |
m (Had imports the wrong way round) |
||
Line 26:
| 0x78 || 0x4 || [[Vertex Descriptor|VertexDesc]]* || ? || Imported vertex descriptor resource ||
|-
| 0x7C || 0x4 || [[
|-
| 0x80 || 0x4 || [[
|}
|
Revision as of 09:26, 7 October 2023
RenderableMesh | |||
---|---|---|---|
aka Renderable | |||
Type ID | 0x2 | ||
Category | Generic | ||
Memory distribution |
Main Memory only | ||
Imports | Draw Index Parameters Mesh State Vertex Descriptor | ||
Imported by | Renderable | ||
Editor available? |
No |
Renderable meshes are the earliest known variant of the RenderableMesh structure used in modern renderables. Their only known use is in Black 2 (2006-06-29 build); the type was deprecated by the time Burnout 5 (2006-11-13 build) was built.
Structures
Note: Structures may have varied from platform to platform like the most recent version does. This can't be determined for certain without samples.
RenderableMesh
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x40 | Matrix44 | ? | Bounding box | |
0x40 | 0x34 | float[13] | ? | Possibly 3 vectors and a single float | |
0x74 | 0x4 | uint32_t | ? | Possibly a hash, or just padding | |
0x78 | 0x4 | VertexDesc* | ? | Imported vertex descriptor resource | |
0x7C | 0x4 | MeshState* | ? | Imported mesh state resource | |
0x80 | 0x4 | DrawIndexParams* | ? | Imported draw index parameters resource |