GLGETPOINTERV(3G)

    .SH "NAME" glGetPointerv - return the address of the specified pointer
    .SH "C SPECIFICATION"

            .HP u void glGetPointerv(GLenum pname, void ** params);

    .SH "PARAMETERS"

        .PP pname

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

            .RE
            .PP params

                        Returns the pointer value specified by pname.

                .RE

            .SH "DESCRIPTION"
                .PP 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:

                    .PP GL_DEBUG_CALLBACK_FUNCTION

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

                        .RE
                        .PP GL_DEBUG_CALLBACK_USER_PARAM

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

                            .RE

                    .SH "NOTES"
                        .PP 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.

                    .SH "ERRORS"
                        .PP GL_INVALID_ENUM is generated if pname is not an accepted value.

                    .SH "VERSION SUPPORT"
                        .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ OpenGL Version T} T{ Function / Feature Name T}:T{ 2.0 T}:T{ 2.1 T}:T{ 3.0 T}:T{ 3.1 T}:T{ 3.2 T}:T{ 3.3 T}:T{ 4.0 T}:T{ 4.1 T}:T{ 4.2 T}:T{ 4.3 T}:T{ 4.4 T}:T{ 4.5 T} l c c c c c c c c c c c c. T{ glGetPointerv T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}

                    .SH "SEE ALSO"
                        .PP glDebugMessageCallback()

                    .SH "COPYRIGHT"
                        .PP 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. https://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2014 Khronos Group