Interfaces
VertexBuffer
A shared mesh buffer for <Vertices buffer vertexCount indexCount>. One
allocation, sectioned. The positions / textures / colors / indices
views belong to the JS thread; inside a worklet call meshViews to
get this runtime's views over the same memory.
Extends
Properties
colors
colors: Float32Array;r, g, b, a per vertex in 0..1; empty unless reserved.
Inherited from
hasColors
readonly hasColors: boolean;hasTextures
readonly hasTextures: boolean;id
readonly id: number;indices
indices: Float32Array;One float per index; empty unless maxIndices was given.
Inherited from
maxIndices
readonly maxIndices: number;maxVertices
readonly maxVertices: number;positions
positions: Float32Array;x, y per vertex.
Inherited from
textures
textures: Float32Array;u, v per vertex, in image pixels; empty unless reserved.