NAME
WebGPU::Direct::RenderBundleEncoder
Methods
Draw
Arguments
vertexCount (Unsigned 32bit (uint32_t))
instanceCount (Unsigned 32bit (uint32_t))
firstVertex (Unsigned 32bit (uint32_t))
firstInstance (Unsigned 32bit (uint32_t))
DrawIndexed
Arguments
indexCount (Unsigned 32bit (uint32_t))
instanceCount (Unsigned 32bit (uint32_t))
firstIndex (Unsigned 32bit (uint32_t))
baseVertex (Signed 32bit (int32_t))
firstInstance (Unsigned 32bit (uint32_t))
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))
SetIndexBuffer
Arguments
buffer (WebGPU::Direct::Buffer)
format (WGPUIndexFormat)
offset (Unsigned 64bit (uint64_t))
size (Unsigned 64bit (uint64_t))
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))
size (Unsigned 64bit (uint64_t))