NAME
WebGPU::Direct::CommandEncoder
Methods
beginComputePass
Return Type
Arguments
descriptor (WebGPU::Direct::ComputePassDescriptor) Default: {}
beginRenderPass
Return Type
Arguments
descriptor (WebGPU::Direct::RenderPassDescriptor)
clearBuffer
Arguments
buffer (WebGPU::Direct::Buffer)
offset (Unsigned 64bit (uint64_t)) Default: 0
size (Unsigned 64bit (uint64_t)) Default: buffer->getSize() - offset
copyBufferToBuffer
Arguments
source (WebGPU::Direct::Buffer)
sourceOffset (Unsigned 64bit (uint64_t))
destination (WebGPU::Direct::Buffer)
destinationOffset (Unsigned 64bit (uint64_t))
size (Unsigned 64bit (uint64_t))
copyBufferToTexture
Arguments
source (WebGPU::Direct::ImageCopyBuffer)
destination (WebGPU::Direct::ImageCopyTexture)
copySize (WebGPU::Direct::Extent3D)
copyTextureToBuffer
Arguments
source (WebGPU::Direct::ImageCopyTexture)
destination (WebGPU::Direct::ImageCopyBuffer)
copySize (WebGPU::Direct::Extent3D)
copyTextureToTexture
Arguments
source (WebGPU::Direct::ImageCopyTexture)
destination (WebGPU::Direct::ImageCopyTexture)
copySize (WebGPU::Direct::Extent3D)
finish
Return Type
Arguments
descriptor (WebGPU::Direct::CommandBufferDescriptor) Default: {}
insertDebugMarker
Arguments
markerLabel (String (char *))
popDebugGroup
pushDebugGroup
Arguments
groupLabel (String (char *))
resolveQuerySet
Arguments
querySet (WebGPU::Direct::QuerySet)
firstQuery (Unsigned 32bit (uint32_t))
queryCount (Unsigned 32bit (uint32_t))
destination (WebGPU::Direct::Buffer)
destinationOffset (Unsigned 64bit (uint64_t))
setLabel
Arguments
label (String (char *))
writeTimestamp
Arguments
querySet (WebGPU::Direct::QuerySet)
queryIndex (Unsigned 32bit (uint32_t))