Język

GLES20.GlGetTexParameteriv Method

Definition

Overloads

Name Description
GlGetTexParameteriv(Int32, Int32, Int32[], Int32)

Gets one parameter of the active unit's bound texture in integer form.

GlGetTexParameteriv(Int32, Int32, IntBuffer)

Gets one parameter of the active unit's bound texture in integer form.

GlGetTexParameteriv(Int32, Int32, Int32[], Int32)

Gets one parameter of the active unit's bound texture in integer form.

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

Parameters

target
Int32

GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, or a supported extension target such as GL_TEXTURE_EXTERNAL_OES.

pname
Int32

The supported texture-parameter selector.

params
Int32[]

A non-null output array starting at offset with room for all values selected by pname. Core parameters require one value; GL_TEXTURE_BORDER_COLOR_EXT requires four when supported. JNI checks only one value.

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

GlGetTexParameteriv(Int32, Int32, IntBuffer)

Gets one parameter of the active unit's bound texture in integer form.

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

Parameters

target
Int32

GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, or a supported extension target such as GL_TEXTURE_EXTERNAL_OES.

pname
Int32

The supported texture-parameter selector.

params
IntBuffer

A non-null native-order output buffer (direct or accessible array-backed) at its current position with room for all values selected by pname. Core parameters require one value; GL_TEXTURE_BORDER_COLOR_EXT requires four when supported. The JNI minimum-size test compares bytes with scalar counts and does not check the full extension result. The array-backed path releases the position-adjusted pointer. Use a direct buffer to avoid this release path.

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