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