Język

GLES30.GlDrawRangeElements Method

Definition

Overloads

Name Description
GlDrawRangeElements(Int32, Int32, Int32, Int32, Int32, Buffer)

Draws indexed primitives from client memory within an inclusive vertex-index range.

GlDrawRangeElements(Int32, Int32, Int32, Int32, Int32, Int32)

Draws indexed primitives whose index values lie in an inclusive range.

GlDrawRangeElements(Int32, Int32, Int32, Int32, Int32, Buffer)

Draws indexed primitives from client memory within an inclusive vertex-index range.

[Android.Runtime.Register("glDrawRangeElements", "(IIIIILjava/nio/Buffer;)V", "")]
public static void GlDrawRangeElements(int mode, int start, int end, int count, int type, Java.Nio.Buffer? indices);
[<Android.Runtime.Register("glDrawRangeElements", "(IIIIILjava/nio/Buffer;)V", "")>]
static member GlDrawRangeElements : int * int * int * int * int * Java.Nio.Buffer -> unit

Parameters

mode
Int32

The primitive topology to render.

start
Int32

The inclusive minimum permitted index value, supplied as a 32-bit unsigned bit pattern.

end
Int32

The inclusive maximum permitted index value, supplied as a 32-bit unsigned bit pattern.

count
Int32

The non-negative number of indices to read.

type
Int32

GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.

indices
Buffer

A non-null index buffer 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.

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

GlDrawRangeElements(Int32, Int32, Int32, Int32, Int32, Int32)

Draws indexed primitives whose index values lie in an inclusive range.

[Android.Runtime.Register("glDrawRangeElements", "(IIIIII)V", "")]
public static void GlDrawRangeElements(int mode, int start, int end, int count, int type, int offset);
[<Android.Runtime.Register("glDrawRangeElements", "(IIIIII)V", "")>]
static member GlDrawRangeElements : int * int * int * int * int * int -> unit

Parameters

mode
Int32

The primitive topology to render.

start
Int32

The inclusive minimum permitted index value, supplied as a 32-bit unsigned bit pattern.

end
Int32

The inclusive maximum permitted index value, supplied as a 32-bit unsigned bit pattern.

count
Int32

The non-negative number of indices to read.

type
Int32

GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.

offset
Int32

The non-negative index-data byte offset in the bound element-array buffer.

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