1GLGETHISTOGRAMPARAMETER(3G)                        GLGETHISTOGRAMPARAMETER(3G)
2
3
4

NAME

6       glGetHistogramParameterfv,  glGetHistogramParameteriv  -  get histogram
7       parameters
8
9

C SPECIFICATION

11       void glGetHistogramParameterfv( GLenum target,
12                                       GLenum pname,
13                                       GLfloat *params )
14       void glGetHistogramParameteriv( GLenum target,
15                                       GLenum pname,
16                                       GLint *params )
17
18

PARAMETERS

20       target  Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM.
21
22       pname   The name of the parameter to be  retrieved.   Must  be  one  of
23               GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE,
24               GL_HISTOGRAM_GREEN_SIZE,                GL_HISTOGRAM_BLUE_SIZE,
25               GL_HISTOGRAM_ALPHA_SIZE,     GL_HISTOGRAM_LUMINANCE_SIZE,    or
26               GL_HISTOGRAM_SINK.
27
28       params  Pointer to storage for the returned values.
29

DESCRIPTION

31       glGetHistogramParameter is used to query parameter values for the  cur‐
32       rent  histogram or for a proxy.  The histogram state information may be
33       queried  by  calling   glGetHistogramParameter   with   a   target   of
34       GL_HISTOGRAM (to obtain information for the current histogram table) or
35       GL_PROXY_HISTOGRAM (to obtain information from the  most  recent  proxy
36       request) and one of the following values for the pname argument:
37
38           ────────────────────────────────────────────────────────────────
39           Parameter                 Description
40           ────────────────────────────────────────────────────────────────
41           GL_HISTOGRAM_WIDTH        Histogram table width
42           GL_HISTOGRAM_FORMAT       Internal
43           GL_HISTOGRAM_RED_SIZE     Red component counter size, in bits
44           GL_HISTOGRAM_GREEN_SIZE   Green component counter size, in bits
45
46       ────────────────────────────────────────────────────────────────────────
47       Parameter                     Description
48       ────────────────────────────────────────────────────────────────────────
49       GL_HISTOGRAM_BLUE_SIZE        Blue component counter size, in bits
50       GL_HISTOGRAM_ALPHA_SIZE       Alpha component counter size, in bits
51       GL_HISTOGRAM_LUMINANCE_SIZE   Luminance component counter size, in bits
52       GL_HISTOGRAM_SINK             Value of the sink parameter
53       ────────────────────────────────────────────────────────────────────────
54
55

NOTES

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

ERRORS

61       GL_INVALID_ENUM is generated if target is not one of the allowable val‐
62       ues.
63
64       GL_INVALID_ENUM  is generated if pname is not one of the allowable val‐
65       ues.
66
67       GL_INVALID_OPERATION is generated if  glGetHistogramParameter  is  exe‐
68       cuted  between the execution of glBegin and the corresponding execution
69       of glEnd.
70

SEE ALSO

72       glGetHistogram(3G), glHistogram(3G)
73
74
75
76                                                   GLGETHISTOGRAMPARAMETER(3G)
Impressum