Skip to main content
GPURenderBundleEncoder.prototype.setIndexBuffer - GPU - Web documentation
method GPURenderBundleEncoder.prototype.setIndexBuffer
GPURenderBundleEncoder.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
Back to top