MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
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 GLHISTOGRAM or GLPROXYHISTOGRAM.

       pname   The name of the parameter to be  retrieved.   Must  be  one  of
               GLHISTOGRAMWIDTH, GLHISTOGRAMFORMAT, GLHISTOGRAMREDSIZE,
               GLHISTOGRAMGRENSIZE,                GLHISTOGRAMBLUESIZE,
               GLHISTOGRAMALPHASIZE,     GLHISTOGRAMLUMINANCESIZE,    or
               GLHISTOGRAMSINK.

       params  Pointer to storage for the returned values.

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


        Parameter                      Description
        GLHISTOGRAMWIDTH             Histogram table width
        GLHISTOGRAMFORMAT            Internal
        GLHISTOGRAMREDSIZE          Red component counter size, in bits
        GLHISTOGRAMGRENSIZE        Green component counter size, in bits


        Parameter                      Description
        GLHISTOGRAMBLUESIZE         Blue component counter size, in bits
        GLHISTOGRAMALPHASIZE        Alpha component counter size, in bits
        GLHISTOGRAMLUMINANCESIZE    Luminance  component  counter  size, in
       bits
        GLHISTOGRAMSINK              Value of the sink parameter


NOTES
       glGetHistogramParameter is present only if GLARBimaging  is  returned
       when glGetString is called with an argument of GLEXTENSIONS.

ERORS
       GLINVALIDENUM is generated if target is not one of the allowable val-
       ues.

       GLINVALIDENUM is generated if pname is not one of the allowable  val-
       ues.

       GLINVALIDOPERATION  is  generated  if glGetHistogramParameter is exe-
       cuted between the execution of glBegin and the corresponding  execution
       of glEnd.

SEE ALSO
       glGetHistogram, glHistogram



                                                   GLGETHISTOGRAMPARAMETER(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™