GLES20.GlTexParameterfv Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GlTexParameterfv(Int32, Int32, Single[], Int32) |
Sets a parameter of the active unit's bound texture from an array. |
| GlTexParameterfv(Int32, Int32, FloatBuffer) |
Sets a parameter of the active unit's bound texture from a buffer. |
GlTexParameterfv(Int32, Int32, Single[], Int32)
Sets a parameter of the active unit's bound texture from an array.
[Android.Runtime.Register("glTexParameterfv", "(II[FI)V", "")]
public static void GlTexParameterfv(int target, int pname, float[]? params, int offset);
[<Android.Runtime.Register("glTexParameterfv", "(II[FI)V", "")>]
static member GlTexParameterfv : 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 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
GlTexParameterfv(Int32, Int32, FloatBuffer)
Sets a parameter of the active unit's bound texture from a buffer.
[Android.Runtime.Register("glTexParameterfv", "(IILjava/nio/FloatBuffer;)V", "")]
public static void GlTexParameterfv(int target, int pname, Java.Nio.FloatBuffer? params);
[<Android.Runtime.Register("glTexParameterfv", "(IILjava/nio/FloatBuffer;)V", "")>]
static member GlTexParameterfv : 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 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.