Light | Dark

glGetPointerv

Name

glGetPointerv — return the address of the specified pointer

C Specification

void glGetPointerv( GLenum pname,
  void ** params);
 

Parameters

pname

Specifies the pointer to be returned. Must be one of GL_DEBUG_CALLBACK_FUNCTION or GL_DEBUG_CALLBACK_USER_PARAM.

params

Returns the pointer value specified by pname.

Description

glGetPointerv returns pointer information. pname indicates the pointer to be returned, and params is a pointer to a location in which to place the returned data. The parameters that may be queried include:

GL_DEBUG_CALLBACK_FUNCTION

Returns the current callback function set with the callback argument of glDebugMessageCallback.

GL_DEBUG_CALLBACK_USER_PARAM

Returns the user parameter to the current callback function set with the userParam argument of glDebugMessageCallback.

Errors

GL_INVALID_ENUM is generated if pname is not an accepted value.

Version Support

OpenGL ES API Version
Function Name 2.0 3.0 3.1 3.2
glGetPointerv - - -
Think you can improve this page? Edit this page on GitHub.