Skip to content

Documentation / @ripl/webgpu / FlushResult

Interface: FlushResult

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

Result of flushing all queued meshes — buffers and per-mesh draw commands.

Properties

PropertyTypeDescriptionDefined in
drawsDrawCommand[]Per-mesh draw commands into the shared vertex and index buffers.webgpu/src/geometry.ts:211
indexBufferGPUBufferGPU buffer containing all uploaded index data for the frame.webgpu/src/geometry.ts:209
vertexBufferGPUBufferGPU buffer containing all uploaded vertex data for the frame.webgpu/src/geometry.ts:207