Function RenderPass.drawIndexed

Draws indexed primitives using the active index buffer and the active vertex buffers.

void drawIndexed (
  uint[] indices,
  int baseVertex,
  uint[] instances
);

The active index buffer can be set with RenderPass.setIndexBuffer, while the active vertex buffers can be set with RenderPass.setVertexBuffers.