Language

GLES30.GlDrawElementsInstanced Method

Definition

Overloads

Name Description
GlDrawElementsInstanced(Int32, Int32, Int32, Buffer, Int32)

Draws repeated indexed instances from a client-memory index buffer.

GlDrawElementsInstanced(Int32, Int32, Int32, Int32, Int32)

Draws repeated indexed instances using a bound element buffer.

GlDrawElementsInstanced(Int32, Int32, Int32, Buffer, Int32)

Draws repeated indexed instances from a client-memory index buffer.

[Android.Runtime.Register("glDrawElementsInstanced", "(IIILjava/nio/Buffer;I)V", "")]
public static void GlDrawElementsInstanced(int mode, int count, int type, Java.Nio.Buffer? indices, int instanceCount);
[<Android.Runtime.Register("glDrawElementsInstanced", "(IIILjava/nio/Buffer;I)V", "")>]
static member GlDrawElementsInstanced : int * int * int * Java.Nio.Buffer * int -> unit

Parameters

mode
Int32

The primitive topology to render.

count
Int32

The non-negative number of indices per instance.

type
Int32

GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.

indices
Buffer

A non-null native-order index buffer (direct or accessible array-backed) with count times the index-type width in bytes available from its current position. No element-array buffer may be bound. Capacity is not checked; the array-backed path releases the position-adjusted pointer. Use a direct buffer to avoid this release path.

instanceCount
Int32

The non-negative number of instances.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GlDrawElementsInstanced(Int32, Int32, Int32, Int32, Int32)

Draws repeated indexed instances using a bound element buffer.

[Android.Runtime.Register("glDrawElementsInstanced", "(IIIII)V", "")]
public static void GlDrawElementsInstanced(int mode, int count, int type, int indicesOffset, int instanceCount);
[<Android.Runtime.Register("glDrawElementsInstanced", "(IIIII)V", "")>]
static member GlDrawElementsInstanced : int * int * int * int * int -> unit

Parameters

mode
Int32

The primitive topology to render.

count
Int32

The non-negative number of indices per instance.

type
Int32

GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.

indicesOffset
Int32

The non-negative byte offset of the indices in the bound element-array buffer.

instanceCount
Int32

The non-negative number of instances.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to