VFX Mesh Collection: Difference between revisions

Added field descriptions, added infobox, and normalized some content.
(Created page.)
 
(Added field descriptions, added infobox, and normalized some content.)
 
Line 1:
{{ParadiseResourceTypeInfobox
| name = VFXMeshCollection
| othernames = BrnVFXMeshCollection
| resourcenames = highres_debris_02.rf3<br />lowres_debris.rf3<br />Glass_debris.rf3
| id = 0x100019
| category = Game-specific<br />(Burnout Paradise)
| memdist = Collection in Main Memory<br />Mesh in [[Bundle 2/Burnout Paradise#Memory types|secondary]]
}}
 
The VFXMeshCollection resource type contains particle meshes.
 
Line 7 ⟶ 16:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || muVersion || Version number || 2
|-
| 0x4 || 0x80 || float32_t[32] || mafRadius || Radius ||
|-
| 0x84 || 0x4 || [[#renderengine::MeshHelper|MeshHelper]]* || mpMeshHelper || Buffer information ||
|-
| 0x88 || 0x4 || uint32_t || muNumIndices || Number of indices ||
|-
| 0x8C || 0x4 || uint32_t || muNumVertices || Number of vertices ||
|-
| 0x90 || 0x4 || [[#BrnParticle::VFXMeshCollection::Material|Material]] || mMaterial || Material name ||
|}
 
Line 24 ⟶ 33:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || muVersion || Version number || 2
|-
| 0x4 || 0x80 || float32_t[32] || mafRadius || Radius ||
|-
| 0x84 || 0x4 || || || paddingPadding ||
|-
| 0x88 || 0x8 || [[#renderengine::MeshHelper|MeshHelper]]* || mpMeshHelper || Buffer information ||
|-
| 0x90 || 0x4 || uint32_t || muNumIndices || Number of indices ||
|-
| 0x94 || 0x4 || uint32_t || muNumVertices || Number of vertices ||
|-
| 0x98 || 0x8 || [[#BrnParticle::VFXMeshCollection::Material|Material]] || mMaterial || Material name ||
|}
 
=== renderengine::MeshHelper ===
{{todo|Document buffer format.}}
 
==== 32-bit ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || m_numIndexBuffers || Number of index buffers ||
|-
| 0x4 || 0x4 || uint32_t || m_numVertexBuffers || Number of vertex buffers ||
|-
| 0x8 || 0x4 || void*[1] || m_buffers || Index buffers, then vertex buffers || See [[Renderable]] for IndexBuffer and VertexBuffer details
|}
 
Line 57 ⟶ 64:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || m_numIndexBuffers || Number of index buffers ||
|-
| 0x4 || 0x4 || uint32_t || m_numVertexBuffers || Number of vertex buffers ||
|-
| 0x8 || 0x8 || void*[1] || m_buffers || Index buffers, then vertex buffers || See [[Renderable]] for IndexBuffer and VertexBuffer details
|}
 
Line 78 ⟶ 85:
| 0x0 || 0x8 || char* || mpTextureName || Null-terminated texture name ||
|}
 
[[Category:To do]]