Scroll to navigation

GLGETPOINTERV(3G) [FIXME: manual] GLGETPOINTERV(3G)

NAME

glGetPointerv - return the address of the specified pointer

C SPECIFICATION

void glGetPointerv(GLenum pname, GLvoid ** 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().

NOTES

glGetPointerv is available in the OpenGL core profile only if the GL version is 4.3 or later. It is available in the compatibility profile for all GL versions, and accepts additional queries. However, these reference pages document only the core profile.

ERRORS

GL_INVALID_ENUM is generated if pname is not an accepted value.

VERSION SUPPORT

OpenGL Version
Function / Feature Name 2.0 2.1 3.0 3.1 3.2 3.3 4.0 4.1 4.2 4.3 4.4 4.5
glGetPointerv - - - - - - - - -

SEE ALSO

glDebugMessageCallback()

COPYRIGHT

Copyright © 2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

COPYRIGHT

Copyright © 2014 Khronos Group

04/12/2021 [FIXME: source]