Język

GLES20.GlGetIntegerv Method

Definition

Overloads

Name Description
GlGetIntegerv(Int32, IntBuffer)

Gets selected GL state using GL's integer state-conversion rules.

GlGetIntegerv(Int32, Int32[], Int32)

Gets selected GL state using GL's integer state-conversion rules.

GlGetIntegerv(Int32, IntBuffer)

Gets selected GL state using GL's integer state-conversion rules.

[Android.Runtime.Register("glGetIntegerv", "(ILjava/nio/IntBuffer;)V", "")]
public static void GlGetIntegerv(int pname, Java.Nio.IntBuffer? params);
[<Android.Runtime.Register("glGetIntegerv", "(ILjava/nio/IntBuffer;)V", "")>]
static member GlGetIntegerv : int * Java.Nio.IntBuffer -> unit

Parameters

pname
Int32

The supported GL state selector, which determines the complete result length.

params
IntBuffer

A non-null direct, native-order output buffer at its current position with room for every returned integer value. The JNI count table is incomplete; GL_MAX_VIEWPORT_DIMS needs two values even when the table checks only one. This generic helper checks scalar entries, not bytes. Array-backed cleanup is unsafe.

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

GlGetIntegerv(Int32, Int32[], Int32)

Gets selected GL state using GL's integer state-conversion rules.

[Android.Runtime.Register("glGetIntegerv", "(I[II)V", "")]
public static void GlGetIntegerv(int pname, int[]? params, int offset);
[<Android.Runtime.Register("glGetIntegerv", "(I[II)V", "")>]
static member GlGetIntegerv : int * int[] * int -> unit

Parameters

pname
Int32

The supported GL state selector, which determines the complete result length.

params
Int32[]

A non-null output array starting at offset with room for every returned integer value. The JNI count table is incomplete; GL_MAX_VIEWPORT_DIMS needs two values even when the table checks only one.

offset
Int32

The nonnegative starting array index, measured in result elements rather than bytes.

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