GPUCommandEncoder
class GPUCommandEncoder
implements GPUObjectBase {
}
label
: string | null;
copyBufferToBuffer(
source: GPUBuffer,
sourceOffset: number,
destination: GPUBuffer,
destinationOffset: number,
size: number,
)
: undefined;
copyBufferToTexture(
source: GPUImageCopyBuffer,
destination: GPUImageCopyTexture,
copySize: GPUExtent3D,
)
: undefined;
copyTextureToBuffer(
source: GPUImageCopyTexture,
destination: GPUImageCopyBuffer,
copySize: GPUExtent3D,
)
: undefined;
copyTextureToTexture(
source: GPUImageCopyTexture,
destination: GPUImageCopyTexture,
copySize: GPUExtent3D,
)
: undefined;
insertDebugMarker(
markerLabel: string)
: undefined;
popDebugGroup()
: undefined;
pushDebugGroup(
groupLabel: string)
: undefined;
resolveQuerySet(
querySet: GPUQuerySet,
firstQuery: number,
queryCount: number,
destination: GPUBuffer,
destinationOffset: number,
)
: undefined;
Implements
Properties
label
: string | null
Methods
beginComputePass(
descriptor?: GPUComputePassDescriptor)
: GPUComputePassEncoder
beginRenderPass(
descriptor: GPURenderPassDescriptor)
: GPURenderPassEncoder
copyBufferToTexture(
source: GPUImageCopyBuffer
,
destination: GPUImageCopyTexture
,
copySize: GPUExtent3D)
: undefined
copyTextureToBuffer(
source: GPUImageCopyTexture
,
destination: GPUImageCopyBuffer
,
copySize: GPUExtent3D)
: undefined
copyTextureToTexture(
source: GPUImageCopyTexture
,
destination: GPUImageCopyTexture
,
copySize: GPUExtent3D)
: undefined
finish(
descriptor?: GPUCommandBufferDescriptor)
: GPUCommandBuffer
insertDebugMarker(
markerLabel: string)
: undefined
popDebugGroup()
: undefined
pushDebugGroup(
groupLabel: string)
: undefined
resolveQuerySet(
querySet: GPUQuerySet
,
firstQuery: number
,
queryCount: number
,
destination: GPUBuffer
,
destinationOffset: number)
: undefined
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/GPUCommandEncoder