drawIndexedInstances
Renders instances of geometry using indexed drawing.
Parameters
The shader program used to render the instances.
The index buffer containing the indices of the vertices to be used for drawing.
A list of vertex buffers providing vertex attributes for the geometry.
A list of vertex buffers providing attributes specific to each instance.
The type of primitive to be drawn (e.g., triangles, lines, or patches).
The starting offset in the index buffer for drawing.
The number of indices to be read from the index buffer for drawing.
The starting offset for the instance data.
The number of instances to be drawn.
The number of vertices per patch, applicable if using patch-based primitives.
Renders instances of geometry using indexed drawing.
Parameters
The shader program used to render the instances.
The index buffer containing the indices of the vertices to be used for drawing.
A list of vertex buffers providing vertex attributes for the geometry.
A list of vertex buffers providing attributes specific to each instance.
The type of primitive to be drawn (e.g., triangles, lines, or patches).
The starting offset in the index buffer for drawing.
The number of indices to be read from the index buffer for drawing.
The starting offset for the instance data.
The number of instances to be drawn.
The number of vertices per patch, applicable if using patch-based primitives.
Renders instances of geometry using indexed drawing.
Parameters
The shader program used to render the instances.
The index buffer containing the indices of the vertices to be used for drawing.
A list of vertex buffers providing vertex attributes for the geometry.
A list of vertex buffers providing attributes specific to each instance.
The type of primitive to be drawn (e.g., triangles, lines, or patches).
The starting offset in the index buffer for drawing.
The number of indices to be read from the index buffer for drawing.
The starting offset for the instance data.
The number of instances to be drawn.
The number of vertices per patch, applicable if using patch-based primitives.