This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



GLGETHISTOGRAMPARAMETER(3G)                                                      GLGETHISTOGRAMPARAMETER(3G)



NAME
       glGetHistogramParameterfv, glGetHistogramParameteriv - get histogram parameters


C SPECIFICATION
       void glGetHistogramParameterfv( GLenum target,
                                       GLenum pname,
                                       GLfloat *params )
       void glGetHistogramParameteriv( GLenum target,
                                       GLenum pname,
                                       GLint *params )


PARAMETERS
       target  Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM.

       pname   The   name   of   the  parameter  to  be  retrieved.   Must  be  one  of  GL_HISTOGRAM_WIDTH,
               GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE,  GL_HISTOGRAM_BLUE_SIZE,
               GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK.

       params  Pointer to storage for the returned values.

DESCRIPTION
       glGetHistogramParameter  is  used to query parameter values for the current histogram or for a proxy.
       The histogram state information may be queried by calling glGetHistogramParameter with  a  target  of
       GL_HISTOGRAM (to obtain information for the current histogram table) or GL_PROXY_HISTOGRAM (to obtain
       information from the most recent proxy request) and one of the following values for the  pname  argu-ment: argument:
       ment:


        Parameter                      Description
        GL_HISTOGRAM_WIDTH             Histogram table width
        GL_HISTOGRAM_FORMAT            Internal
        GL_HISTOGRAM_RED_SIZE          Red component counter size, in bits
        GL_HISTOGRAM_GREEN_SIZE        Green component counter size, in bits


        Parameter                      Description
        GL_HISTOGRAM_BLUE_SIZE         Blue component counter size, in bits
        GL_HISTOGRAM_ALPHA_SIZE        Alpha component counter size, in bits
        GL_HISTOGRAM_LUMINANCE_SIZE    Luminance component counter size, in bits
        GL_HISTOGRAM_SINK              Value of the sink parameter


NOTES
       glGetHistogramParameter is present only if GL_ARB_imaging is returned when glGetString is called with
       an argument of GL_EXTENSIONS.

ERRORS
       GL_INVALID_ENUM is generated if target is not one of the allowable values.

       GL_INVALID_ENUM is generated if pname is not one of the allowable values.

       GL_INVALID_OPERATION is generated if glGetHistogramParameter is executed  between  the  execution  of
       glBegin and the corresponding execution of glEnd.

SEE ALSO
       glGetHistogram(3G), glHistogram(3G)




                                                                                 GLGETHISTOGRAMPARAMETER(3G)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenGL project.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...