GeometryData beta
Interface of @v12-engine/render
ts
export interface GeometryDataA mesh's points as they are sent to the card (Renderer.geometry)
Members
indices
ts
indices: Uint32Array;Three a triangle, into the vertices
normals
ts
normals?: Float32Array;As the stream normal (three floats a vertex)
positions
ts
positions: Float32Array;Three floats a vertex
streams
ts
streams?: Record<string, StreamData>;Any other stream a kind of material reads, by its name
uvs
ts
uvs?: Float32Array;As the stream uv (two floats a vertex)