setIndexBuffer method

void setIndexBuffer(
  1. GPUBuffer buffer,
  2. String format, [
  3. int offset,
  4. int size,
])

The index buffer, with the same window and for the same reason.

Implementation

external void setIndexBuffer(
  GPUBuffer buffer,
  String format, [
  int offset,
  int size,
]);