GPURenderEncoderBase

interface GPURenderEncoderBase {
draw(
vertexCount: number,
instanceCount?: number,
firstVertex?: number,
firstInstance?: number,
): undefined;
drawIndexed(
indexCount: number,
instanceCount?: number,
firstIndex?: number,
baseVertex?: number,
firstInstance?: number,
): undefined;
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined;
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined;
setIndexBuffer(
buffer: GPUBuffer,
indexFormat: GPUIndexFormat,
offset?: number,
size?: number,
): undefined;
setPipeline(pipeline: GPURenderPipeline): undefined;
setVertexBuffer(
slot: number,
buffer: GPUBuffer,
offset?: number,
size?: number,
): undefined;
}

§Methods

§
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]
§
setIndexBuffer(
buffer: GPUBuffer,
indexFormat: GPUIndexFormat,
offset?: number,
size?: number,
): undefined
[src]
§
setPipeline(pipeline: GPURenderPipeline): undefined
[src]
§
setVertexBuffer(
slot: number,
buffer: GPUBuffer,
offset?: number,
size?: number,
): undefined
[src]