Język

GLES20.GlTexParameteriv Method

Definition

Overloads

Name Description
GlTexParameteriv(Int32, Int32, IntBuffer)

Sets a parameter of the active unit's bound texture from a buffer.

GlTexParameteriv(Int32, Int32, Int32[], Int32)

Sets a parameter of the active unit's bound texture from an array.

GlTexParameteriv(Int32, Int32, IntBuffer)

Sets a parameter of the active unit's bound texture from a buffer.

[Android.Runtime.Register("glTexParameteriv", "(IILjava/nio/IntBuffer;)V", "")]
public static void GlTexParameteriv(int target, int pname, Java.Nio.IntBuffer? params);
[<Android.Runtime.Register("glTexParameteriv", "(IILjava/nio/IntBuffer;)V", "")>]
static member GlTexParameteriv : 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 input buffer (direct or accessible array-backed) at its current position containing all values selected by pname. Core parameters require one value; GL_TEXTURE_BORDER_COLOR_EXT requires four when supported. The JNI size test compares bytes with scalar counts and does not check the full extension input; 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

GlTexParameteriv(Int32, Int32, Int32[], Int32)

Sets a parameter of the active unit's bound texture from an array.

[Android.Runtime.Register("glTexParameteriv", "(II[II)V", "")]
public static void GlTexParameteriv(int target, int pname, int[]? params, int offset);
[<Android.Runtime.Register("glTexParameteriv", "(II[II)V", "")>]
static member GlTexParameteriv : 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 input array starting at offset containing 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 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