method GPURenderEncoderBase.setIndexBuffer GPURenderEncoderBase.setIndexBuffer(buffer: GPUBuffer,indexFormat: GPUIndexFormat,offset?: number,size?: number,): undefined Parameters buffer: GPUBuffer indexFormat: GPUIndexFormat optional offset: number optional size: number Return Type undefined