Język

GLES20.GlGetBufferParameteriv Method

Definition

Overloads

Name Description
GlGetBufferParameteriv(Int32, Int32, IntBuffer)

Gets a parameter of the bound buffer.

GlGetBufferParameteriv(Int32, Int32, Int32[], Int32)

Gets a parameter of the bound buffer.

GlGetBufferParameteriv(Int32, Int32, IntBuffer)

Gets a parameter of the bound buffer.

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

Parameters

target
Int32

GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, or another supported target, with a nonzero buffer bound.

pname
Int32

GL_BUFFER_SIZE for the byte size, GL_BUFFER_USAGE for the usage token, or another selector supported by the current context.

params
IntBuffer

A non-null native-order output buffer (direct or accessible array-backed) at its current position with room for one integer value. The JNI minimum-size test compares bytes with scalar counts. 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

GlGetBufferParameteriv(Int32, Int32, Int32[], Int32)

Gets a parameter of the bound buffer.

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

Parameters

target
Int32

GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, or another supported target, with a nonzero buffer bound.

pname
Int32

GL_BUFFER_SIZE for the byte size, GL_BUFFER_USAGE for the usage token, or another selector supported by the current context.

params
Int32[]

A non-null output array starting at offset with room for one integer 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