GLES30.GlGetBufferPointerv(Int32, Int32) 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.
The java.nio.Buffer instance returned by this method is guaranteed
to be an instance of java.nio.ByteBuffer.
[Android.Runtime.Register("glGetBufferPointerv", "(II)Ljava/nio/Buffer;", "")]
public static Java.Nio.Buffer? GlGetBufferPointerv(int target, int pname);
[<Android.Runtime.Register("glGetBufferPointerv", "(II)Ljava/nio/Buffer;", "")>]
static member GlGetBufferPointerv : int * int -> Java.Nio.Buffer
Parameters
- target
- Int32
The valid binding target of the buffer to query; the mapped length must not exceed Int32.MaxValue.
- pname
- Int32
GL_BUFFER_MAP_POINTER. Query arguments must be valid because the JNI wrapper does not check GL errors before constructing the result.
Returns
A direct byte buffer constructed from the queried mapping pointer and mapped byte length. Use GL_BUFFER_MAPPED to test mapping state rather than testing this wrapper's result for null. Do not access its storage after the buffer is unmapped, deleted, or reallocated.
- Attributes
Remarks
The java.nio.Buffer instance returned by this method is guaranteed to be an instance of java.nio.ByteBuffer.
Java documentation for android.opengl.GLES30.glGetBufferPointerv(int, int).
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.