Język

GLES20.GlGetTexParameterfv Method

Definition

Overloads

Name Description
GlGetTexParameterfv(Int32, Int32, FloatBuffer)

Gets one parameter of the active unit's bound texture in floating-point form.

GlGetTexParameterfv(Int32, Int32, Single[], Int32)

Gets one parameter of the active unit's bound texture in floating-point form.

GlGetTexParameterfv(Int32, Int32, FloatBuffer)

Gets one parameter of the active unit's bound texture in floating-point form.

[Android.Runtime.Register("glGetTexParameterfv", "(IILjava/nio/FloatBuffer;)V", "")]
public static void GlGetTexParameterfv(int target, int pname, Java.Nio.FloatBuffer? params);
[<Android.Runtime.Register("glGetTexParameterfv", "(IILjava/nio/FloatBuffer;)V", "")>]
static member GlGetTexParameterfv : int * int * Java.Nio.FloatBuffer -> 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
FloatBuffer

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

GlGetTexParameterfv(Int32, Int32, Single[], Int32)

Gets one parameter of the active unit's bound texture in floating-point form.

[Android.Runtime.Register("glGetTexParameterfv", "(II[FI)V", "")]
public static void GlGetTexParameterfv(int target, int pname, float[]? params, int offset);
[<Android.Runtime.Register("glGetTexParameterfv", "(II[FI)V", "")>]
static member GlGetTexParameterfv : int * int * single[] * 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
Single[]

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