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

drawIndirect

end

endOcclusionQuery

executeBundles

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

setIndexBuffer

setLabel

  • Arguments

    • label (String (char *))

setPipeline

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))

reference

release