NAME
WebGPU::Direct::CommandEncoder
Methods
BeginComputePass
Return Type
Arguments
descriptor (WebGPU::Direct::ComputePassDescriptor)
BeginRenderPass
Return Type
Arguments
descriptor (WebGPU::Direct::RenderPassDescriptor)
ClearBuffer
Arguments
buffer (WebGPU::Direct::Buffer)
offset (Unsigned 64bit (uint64_t))
size (Unsigned 64bit (uint64_t))
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)
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))