WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUCommandEncoder methods

Functions whose first argument has type WGPUCommandEncoder. More...

Functions

WGPUComputePassEncoder wgpuCommandEncoderBeginComputePass (WGPUCommandEncoder commandEncoder, WGPUComputePassDescriptor const *descriptor)
 
WGPURenderPassEncoder wgpuCommandEncoderBeginRenderPass (WGPUCommandEncoder commandEncoder, WGPURenderPassDescriptor const *descriptor)
 
void wgpuCommandEncoderClearBuffer (WGPUCommandEncoder commandEncoder, WGPUBuffer buffer, uint64_t offset, uint64_t size)
 
void wgpuCommandEncoderCopyBufferToBuffer (WGPUCommandEncoder commandEncoder, WGPUBuffer source, uint64_t sourceOffset, WGPUBuffer destination, uint64_t destinationOffset, uint64_t size)
 
void wgpuCommandEncoderCopyBufferToTexture (WGPUCommandEncoder commandEncoder, WGPUTexelCopyBufferInfo const *source, WGPUTexelCopyTextureInfo const *destination, WGPUExtent3D const *copySize)
 
void wgpuCommandEncoderCopyTextureToBuffer (WGPUCommandEncoder commandEncoder, WGPUTexelCopyTextureInfo const *source, WGPUTexelCopyBufferInfo const *destination, WGPUExtent3D const *copySize)
 
void wgpuCommandEncoderCopyTextureToTexture (WGPUCommandEncoder commandEncoder, WGPUTexelCopyTextureInfo const *source, WGPUTexelCopyTextureInfo const *destination, WGPUExtent3D const *copySize)
 
WGPUCommandBuffer wgpuCommandEncoderFinish (WGPUCommandEncoder commandEncoder, WGPUCommandBufferDescriptor const *descriptor)
 
void wgpuCommandEncoderInsertDebugMarker (WGPUCommandEncoder commandEncoder, WGPUStringView markerLabel)
 
void wgpuCommandEncoderPopDebugGroup (WGPUCommandEncoder commandEncoder)
 
void wgpuCommandEncoderPushDebugGroup (WGPUCommandEncoder commandEncoder, WGPUStringView groupLabel)
 
void wgpuCommandEncoderResolveQuerySet (WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGPUBuffer destination, uint64_t destinationOffset)
 
void wgpuCommandEncoderSetLabel (WGPUCommandEncoder commandEncoder, WGPUStringView label)
 
void wgpuCommandEncoderWriteTimestamp (WGPUCommandEncoder commandEncoder, WGPUQuerySet querySet, uint32_t queryIndex)
 
void wgpuCommandEncoderAddRef (WGPUCommandEncoder commandEncoder)
 
void wgpuCommandEncoderRelease (WGPUCommandEncoder commandEncoder)
 

Detailed Description

Functions whose first argument has type WGPUCommandEncoder.

Function Documentation

◆ wgpuCommandEncoderBeginComputePass()

WGPUComputePassEncoder wgpuCommandEncoderBeginComputePass ( WGPUCommandEncoder commandEncoder,
WGPUComputePassDescriptor const * descriptor )
Returns
This value is Returned with Ownership.

◆ wgpuCommandEncoderBeginRenderPass()

WGPURenderPassEncoder wgpuCommandEncoderBeginRenderPass ( WGPUCommandEncoder commandEncoder,
WGPURenderPassDescriptor const * descriptor )
Returns
This value is Returned with Ownership.

◆ wgpuCommandEncoderClearBuffer()

void wgpuCommandEncoderClearBuffer ( WGPUCommandEncoder commandEncoder,
WGPUBuffer buffer,
uint64_t offset,
uint64_t size )

◆ wgpuCommandEncoderCopyBufferToBuffer()

void wgpuCommandEncoderCopyBufferToBuffer ( WGPUCommandEncoder commandEncoder,
WGPUBuffer source,
uint64_t sourceOffset,
WGPUBuffer destination,
uint64_t destinationOffset,
uint64_t size )

◆ wgpuCommandEncoderCopyBufferToTexture()

void wgpuCommandEncoderCopyBufferToTexture ( WGPUCommandEncoder commandEncoder,
WGPUTexelCopyBufferInfo const * source,
WGPUTexelCopyTextureInfo const * destination,
WGPUExtent3D const * copySize )

◆ wgpuCommandEncoderCopyTextureToBuffer()

void wgpuCommandEncoderCopyTextureToBuffer ( WGPUCommandEncoder commandEncoder,
WGPUTexelCopyTextureInfo const * source,
WGPUTexelCopyBufferInfo const * destination,
WGPUExtent3D const * copySize )

◆ wgpuCommandEncoderCopyTextureToTexture()

void wgpuCommandEncoderCopyTextureToTexture ( WGPUCommandEncoder commandEncoder,
WGPUTexelCopyTextureInfo const * source,
WGPUTexelCopyTextureInfo const * destination,
WGPUExtent3D const * copySize )

◆ wgpuCommandEncoderFinish()

WGPUCommandBuffer wgpuCommandEncoderFinish ( WGPUCommandEncoder commandEncoder,
WGPUCommandBufferDescriptor const * descriptor )
Returns
This value is Returned with Ownership.

◆ wgpuCommandEncoderInsertDebugMarker()

void wgpuCommandEncoderInsertDebugMarker ( WGPUCommandEncoder commandEncoder,
WGPUStringView markerLabel )

◆ wgpuCommandEncoderPopDebugGroup()

void wgpuCommandEncoderPopDebugGroup ( WGPUCommandEncoder commandEncoder)

◆ wgpuCommandEncoderPushDebugGroup()

void wgpuCommandEncoderPushDebugGroup ( WGPUCommandEncoder commandEncoder,
WGPUStringView groupLabel )

◆ wgpuCommandEncoderResolveQuerySet()

void wgpuCommandEncoderResolveQuerySet ( WGPUCommandEncoder commandEncoder,
WGPUQuerySet querySet,
uint32_t firstQuery,
uint32_t queryCount,
WGPUBuffer destination,
uint64_t destinationOffset )

◆ wgpuCommandEncoderSetLabel()

void wgpuCommandEncoderSetLabel ( WGPUCommandEncoder commandEncoder,
WGPUStringView label )

◆ wgpuCommandEncoderWriteTimestamp()

void wgpuCommandEncoderWriteTimestamp ( WGPUCommandEncoder commandEncoder,
WGPUQuerySet querySet,
uint32_t queryIndex )

◆ wgpuCommandEncoderAddRef()

void wgpuCommandEncoderAddRef ( WGPUCommandEncoder commandEncoder)

◆ wgpuCommandEncoderRelease()

void wgpuCommandEncoderRelease ( WGPUCommandEncoder commandEncoder)