Allocate value-initialized native vertex and index vectors.
vertexCountNumber of vertices, default zero.
indexCountNumber of indices, default zero.
Static ReadonlyvertexByte stride of the pinned native Rml::Vertex layout.
Writable Rml::Mesh::indices with three vertex indices per triangle.
View retaining the current native index allocation.
Rml::Mesh::operator bool; checks only whether indices are nonempty.
Native truth value; makeGeometry performs full validation.
Native vertex vector size.
Current vertex count.
Writable Rml::Mesh::vertices bytes: float32 x/y at 0/4, premultiplied RGBA bytes at 8–11, float32 u/v at 12/16, repeated every 20 bytes.
View retaining the current native allocation.
Compare native Rml::Mesh vertices and indices.
otherMesh to compare.
Native operator== result.
Map one Rml::Mesh::vertices entry without copying its allocation.
indexZero-based vertex index within the current allocation.
Live fields retaining this allocation after resize or transfer.
Resize native vectors in fresh storage, preserving their common prefix.
vertexCountNew vertex count; new vertices are value-initialized.
indexCountNew index count; new indices are zeroed.
Native-owned Rml::Mesh with shared vertex and index allocations.
Remarks
Views survive collection and runtime shutdown. makeGeometry validates and snapshots nonempty meshes, then empties the source. Previously exported views remain independent of the immutable geometry.