NAME
WebGPU::Direct::RenderPassEncoder
Methods
beginOcclusionQuery
Arguments
queryIndex (Unsigned 32bit (uint32_t))
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))
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)) Default: []
setBlendConstant
Arguments
color (WebGPU::Direct::Color)
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)
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)) Default: 0
size (Unsigned 64bit (uint64_t)) Default: buffer->getSize() - offset
setViewport
Arguments
x (Float (float))
y (Float (float))
width (Float (float))
height (Float (float))
minDepth (Float (float))
maxDepth (Float (float))