NAME
WebGPU::Direct::RenderBundleEncoder
Methods
draw
Arguments
vertexCount (Unsigned 32bit (uint32_t))
instanceCount (Unsigned 32bit (uint32_t)) Default: 1
firstVertex (Unsigned 32bit (uint32_t)) Default: 0
firstInstance (Unsigned 32bit (uint32_t)) Default: 0
drawIndexed
Arguments
indexCount (Unsigned 32bit (uint32_t))
instanceCount (Unsigned 32bit (uint32_t)) Default: 1
firstIndex (Unsigned 32bit (uint32_t)) Default: 0
baseVertex (Signed 32bit (int32_t)) Default: 0
firstInstance (Unsigned 32bit (uint32_t)) Default: 0
drawIndexedIndirect
Arguments
indirectBuffer (WebGPU::Direct::Buffer)
indirectOffset (Unsigned 64bit (uint64_t))
drawIndirect
Arguments
indirectBuffer (WebGPU::Direct::Buffer)
indirectOffset (Unsigned 64bit (uint64_t))
finish
Return Type
Arguments
descriptor (WebGPU::Direct::RenderBundleDescriptor)
insertDebugMarker
Arguments
markerLabel (String (char *))
popDebugGroup
pushDebugGroup
Arguments
groupLabel (String (char *))
setBindGroup
Arguments
groupIndex (Unsigned 32bit (uint32_t))
group (WebGPU::Direct::BindGroup)
dynamicOffsetCount (Integer (size_t))
dynamicOffsets (Unsigned 32bit (uint32_t)) Default: []
setIndexBuffer
Arguments
buffer (WebGPU::Direct::Buffer)
format (WebGPU::Direct::IndexFormat)
offset (Unsigned 64bit (uint64_t)) Default: 0
size (Unsigned 64bit (uint64_t)) Default: buffer->getSize() - offset
setLabel
Arguments
label (String (char *))
setPipeline
Arguments
pipeline (WebGPU::Direct::RenderPipeline)
setVertexBuffer
Arguments
slot (Unsigned 32bit (uint32_t))
buffer (WebGPU::Direct::Buffer)
offset (Unsigned 64bit (uint64_t)) Default: 0
size (Unsigned 64bit (uint64_t)) Default: buffer->getSize() - offset