The number of vertices to draw.
Optional instanceCount: numberThe number of instances to draw.
Optional firstVertex: numberOffset into the vertex buffers, in vertices, to begin drawing from.
Optional firstInstance: numberFirst instance to draw.
Draws indexed primitives. See https://www.w3.org/TR/webgpu/#rendering-operations for the detailed specification.
The number of indices to draw.
Optional instanceCount: numberThe number of instances to draw.
Optional firstIndex: numberOffset into the index buffer, in indices, begin drawing from.
Optional baseVertex: numberAdded to each index value before indexing into the vertex buffers.
Optional firstInstance: numberFirst instance to draw.
Draws indexed primitives using parameters read from a GPUBuffer. See https://www.w3.org/TR/webgpu/#rendering-operations for the detailed specification. tightly packed block of five 32-bit unsigned integer values (20 bytes total), given in the same order as the arguments for drawIndexed. For example:
Buffer containing the indirect drawIndexed parameters.
Offset in bytes into indirectBuffer where the drawing data begins.
Draws primitives using parameters read from a GPUBuffer. See https://www.w3.org/TR/webgpu/#rendering-operations for the detailed specification. packed block of four 32-bit unsigned integer values (16 bytes total), given in the same order as the arguments for draw. For example:
Buffer containing the indirect draw parameters.
Offset in bytes into indirectBuffer where the drawing data begins.
Completes recording of the render bundle commands sequence. descriptor:
Optional descriptor: GPUObjectDescriptorBaseEnds the labeled debug group most recently started by pushDebugGroup.
Sets the current GPUBindGroup for the given index.
The index to set the bind group at.
Bind group to use for subsequent render or compute commands.
Optional dynamicOffsets: Iterable<number>Array containing buffer offsets in bytes for each entry in
    bindGroup marked as buffer.hasDynamicOffset.-->
Sets the current GPUBindGroup for the given index, specifying dynamic offsets as a subset of a Uint32Array.
The index to set the bind group at.
Bind group to use for subsequent render or compute commands.
Array containing buffer offsets in bytes for each entry in
    bindGroup marked as buffer.hasDynamicOffset.
Offset in elements into dynamicOffsetsData where the
    buffer offset data begins.
Number of buffer offsets to read from dynamicOffsetsData.
Sets the current index buffer.
Buffer containing index data to use for subsequent drawing commands.
Format of the index data contained in buffer.
Optional offset: numberOffset in bytes into buffer where the index data begins. Defaults to 0.
Optional size: numberSize in bytes of the index data in buffer.
    Defaults to the size of the buffer minus the offset.
Sets the current GPURenderPipeline.
The render pipeline to use for subsequent drawing commands.
Sets the current vertex buffer for the given slot.
The vertex buffer slot to set the vertex buffer for.
Buffer containing vertex data to use for subsequent drawing commands.
Optional offset: numberOffset in bytes into buffer where the vertex data begins. Defaults to 0.
Optional size: numberSize in bytes of the vertex data in buffer.
    Defaults to the size of the buffer minus the offset.
Generated using TypeDoc
Draws primitives. See https://www.w3.org/TR/webgpu/#rendering-operations for the detailed specification.