glGetBufferPointerv

glGetBufferPointerv: man2/glGetBufferPointerv.xml

glGetBufferPointerv returns pointer information. pname is a symbolic constant indicating the pointer to be returned, which must be GL_BUFFER_MAP_POINTER, the pointer to which the buffer object's data store is mapped. If the data store is not currently mapped, null is returned. params is a pointer to a location in which to place the returned pointer value.

If an error is generated, no change is made to the contents of params. glGetBufferPointerv is available only if the GL version is 1.5 or greater. Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available only if the GL version is 2.1 or greater. The initial value for the pointer is null.

@OpenGL_Version(OGLIntroducedIn.V1P5)
fn_glGetBufferPointerv glGetBufferPointerv;

See Also

glBindBuffer, glMapBuffer

Meta