W3cubDocs

/Deno

GPUComputePassEncoder

class GPUComputePassEncoder implements GPUObjectBase, GPUProgrammablePassEncoder {
label: string | null;
beginPipelineStatisticsQuery(querySet: GPUQuerySet, queryIndex: number): undefined;
dispatch(
x: number,
y?: number,
z?: number,
): undefined;
dispatchIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined;
endPass(): undefined;
endPipelineStatisticsQuery(): undefined;
insertDebugMarker(markerLabel: string): undefined;
popDebugGroup(): undefined;
pushDebugGroup(groupLabel: string): undefined;
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsets?: number[],
): undefined;
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsetsData: Uint32Array,
dynamicOffsetsDataStart: number,
dynamicOffsetsDataLength: number,
): undefined;
setPipeline(pipeline: GPUComputePipeline): undefined;
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined;
}

Properties

label: string | null

Methods

beginPipelineStatisticsQuery(querySet: GPUQuerySet, queryIndex: number): undefined
dispatch(x: number, y?: number, z?: number): undefined
dispatchIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined
endPass(): undefined
endPipelineStatisticsQuery(): undefined
insertDebugMarker(markerLabel: string): undefined
popDebugGroup(): undefined
pushDebugGroup(groupLabel: string): undefined
setBindGroup(index: number, bindGroup: GPUBindGroup, dynamicOffsets?: number[]): undefined
setBindGroup(index: number, bindGroup: GPUBindGroup, dynamicOffsetsData: Uint32Array, dynamicOffsetsDataStart: number, dynamicOffsetsDataLength: number): undefined
setPipeline(pipeline: GPUComputePipeline): undefined
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined