GPURenderPassEncoder.prototype.setIndexBuffer - Web documentation
method GPURenderPassEncoder.prototype.setIndexBuffer
GPURenderPassEncoder.prototype.setIndexBuffer(
buffer: GPUBuffer,
indexFormat: GPUIndexFormat,
offset?: number,
size?: number,
): undefined

Parameters

buffer: GPUBuffer
indexFormat: GPUIndexFormat
optional
offset: number
optional
size: number

Return Type

undefined