Skip to main content

@novorender/api / RenderStateDynamicGeometry

Interface: RenderStateDynamicGeometry

Defined in: @novorender/src/core3d/state/dynamic.ts:136

Dynamic mesh geometry state.

Properties

attributes

readonly attributes: RenderStateDynamicVertexAttributes;

Defined in: @novorender/src/core3d/state/dynamic.ts:140

Vertex attributes.


indices

readonly indices: 
| number
| Uint32Array<ArrayBufferLike>
| Uint8Array<ArrayBufferLike>
| Uint16Array<ArrayBufferLike>;

Defined in: @novorender/src/core3d/state/dynamic.ts:142

Array of Vertex indices, or # vertices if mesh is not indexed.


primitiveType

readonly primitiveType: DrawMode;

Defined in: @novorender/src/core3d/state/dynamic.ts:138

Type of render primitive.