class GPURenderPassEncoder
implements GPUObjectBase, GPUProgrammablePassEncoder, GPURenderEncoderBase

Properties

label: string[src]

Methods

beginOcclusionQuery(queryIndex: number): undefined[src]
beginPipelineStatisticsQuery(querySet: GPUQuerySet, queryIndex: number): undefined[src]
draw(
vertexCount: number,
instanceCount?: number,
firstVertex?: number,
firstInstance?: number,
): undefined
[src]
drawIndexed(
indexCount: number,
instanceCount?: number,
firstIndex?: number,
baseVertex?: number,
firstInstance?: number,
): undefined
[src]
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined[src]
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined[src]
end(): undefined[src]
endOcclusionQuery(): undefined[src]
endPipelineStatisticsQuery(): undefined[src]
executeBundles(bundles: GPURenderBundle[]): undefined[src]
insertDebugMarker(markerLabel: string): undefined[src]
popDebugGroup(): undefined[src]
pushDebugGroup(groupLabel: string): undefined[src]
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsets?: number[],
): undefined
[src]
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsetsData: Uint32Array,
dynamicOffsetsDataStart: number,
dynamicOffsetsDataLength: number,
): undefined
[src]
setBlendConstant(color: GPUColor): undefined[src]
setIndexBuffer(
buffer: GPUBuffer,
indexFormat: GPUIndexFormat,
offset?: number,
size?: number,
): undefined
[src]
setPipeline(pipeline: GPURenderPipeline): undefined[src]
setScissorRect(
x: number,
y: number,
width: number,
height: number,
): undefined
[src]
setStencilReference(reference: number): undefined[src]
setVertexBuffer(
slot: number,
buffer: GPUBuffer,
offset?: number,
size?: number,
): undefined
[src]
setViewport(
x: number,
y: number,
width: number,
height: number,
minDepth: number,
maxDepth: number,
): undefined
[src]
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined[src]