import { WGPUCommandEncoder } from "https://deno.land/x/daybreak@0.1.2/src/wgpu/mod.ts";
Constructors
new
WGPUCommandEncoder(ptr: Deno.UnsafePointer)Methods
beginComputePass(descriptor: wgpu.WGPUComputePassDescriptor): wgpu.WGPUComputePassEncoder
beginRenderPass(descriptor: wgpu.WGPURenderPassDescriptor): wgpu.WGPURenderPassEncoder
clearBuffer(): void
buffer: wgpu.WGPUBuffer,
offset: number,
size: number,
copyBufferToBuffer(): void
source: wgpu.WGPUBuffer,
sourceOffset: number,
destination: wgpu.WGPUBuffer,
destinationOffset: number,
size: number,
copyBufferToTexture(): void
source: wgpu.WGPUImageCopyBuffer,
destination: wgpu.WGPUImageCopyTexture,
copySize: wgpu.WGPUExtent3D,
copyTextureToBuffer(): void
source: wgpu.WGPUImageCopyTexture,
destination: wgpu.WGPUImageCopyBuffer,
copySize: wgpu.WGPUExtent3D,
copyTextureToTexture(): void
source: wgpu.WGPUImageCopyTexture,
destination: wgpu.WGPUImageCopyTexture,
copySize: wgpu.WGPUExtent3D,
copyTextureToTextureInternal(): void
source: wgpu.WGPUImageCopyTexture,
destination: wgpu.WGPUImageCopyTexture,
copySize: wgpu.WGPUExtent3D,
finish(descriptor: wgpu.WGPUCommandBufferDescriptor): wgpu.WGPUCommandBuffer
injectValidationError(message: string): void
insertDebugMarker(markerLabel: string): void
popDebugGroup(): void
pushDebugGroup(groupLabel: string): void
resolveQuerySet(): void
querySet: wgpu.WGPUQuerySet,
firstQuery: number,
queryCount: number,
destination: wgpu.WGPUBuffer,
destinationOffset: number,
setLabel(label: string): void
writeBuffer(): void
buffer: wgpu.WGPUBuffer,
bufferOffset: number,
data: Uint8Array,
size: number,
writeTimestamp(querySet: wgpu.WGPUQuerySet, queryIndex: number): void