setIndexBuffer method
Implementation
void setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat,
[int? offset = 0, int? size]) =>
js_util.callMethod(
this, 'setIndexBuffer', [buffer, indexFormat.value, offset, size]);
void setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat,
[int? offset = 0, int? size]) =>
js_util.callMethod(
this, 'setIndexBuffer', [buffer, indexFormat.value, offset, size]);