NAME
WebGPU::Direct::RenderPassEncoder
Methods
BeginOcclusionQuery
Arguments
queryIndex (Unsigned 32bit (uint32_t))
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))
End
EndOcclusionQuery
ExecuteBundles
Arguments
bundleCount (Integer (size_t))
bundles (WebGPU::Direct::RenderBundle)
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))
SetBlendConstant
Arguments
color (WebGPU::Direct::Color)
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)
SetScissorRect
Arguments
x (Unsigned 32bit (uint32_t))
y (Unsigned 32bit (uint32_t))
width (Unsigned 32bit (uint32_t))
height (Unsigned 32bit (uint32_t))
SetStencilReference
Arguments
reference (Unsigned 32bit (uint32_t))
SetVertexBuffer
Arguments
slot (Unsigned 32bit (uint32_t))
buffer (WebGPU::Direct::Buffer)
offset (Unsigned 64bit (uint64_t))
size (Unsigned 64bit (uint64_t))
SetViewport
Arguments
x (Float (float))
y (Float (float))
width (Float (float))
height (Float (float))
minDepth (Float (float))
maxDepth (Float (float))