Skip to content

Documentation / @ripl/webgpu / DrawCommand

Interface: DrawCommand

Defined in: webgpu/src/geometry.ts:195

A single draw call within a flush result.

Properties

PropertyTypeDescriptionDefined in
indexCountnumberNumber of indices to draw for this mesh.webgpu/src/geometry.ts:197
indexOffsetnumberOffset into the shared index buffer where this mesh's indices begin.webgpu/src/geometry.ts:199
modelBindGroupGPUBindGroupBind group holding this mesh's model and normal matrices.webgpu/src/geometry.ts:201