import { GPURenderPassEncoder } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno_webgpu.d.ts";
Methods
beginOcclusionQuery(queryIndex: number): undefined
draw(): undefined
vertexCount: number,
instanceCount?: number,
firstVertex?: number,
firstInstance?: number,
drawIndexed(): undefined
indexCount: number,
instanceCount?: number,
firstIndex?: number,
baseVertex?: number,
firstInstance?: number,
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined
end(): undefined
endOcclusionQuery(): undefined
executeBundles(bundles: GPURenderBundle[]): undefined
insertDebugMarker(markerLabel: string): undefined
popDebugGroup(): undefined
pushDebugGroup(groupLabel: string): undefined
setBindGroup(): undefined
setBindGroup(): undefined
index: number,
bindGroup: GPUBindGroup,
dynamicOffsetsData: Uint32Array,
dynamicOffsetsDataStart: number,
dynamicOffsetsDataLength: number,
setBlendConstant(color: GPUColor): undefined
setIndexBuffer(): undefined
setPipeline(pipeline: GPURenderPipeline): undefined
setScissorRect(): undefined
x: number,
y: number,
width: number,
height: number,
setStencilReference(reference: number): undefined
setVertexBuffer(): undefined
setViewport(): undefined
x: number,
y: number,
width: number,
height: number,
minDepth: number,
maxDepth: number,