1GLGETHISTOGRAMPARAME(3G)         OpenGL Manual        GLGETHISTOGRAMPARAME(3G)
2
3
4

NAME

6       glGetHistogramParameter - get histogram parameters
7

C SPECIFICATION

9       void glGetHistogramParameterfv(GLenum target, GLenum pname,
10                                      GLfloat * params);
11
12       void glGetHistogramParameteriv(GLenum target, GLenum pname,
13                                      GLint * params);
14

PARAMETERS

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

DESCRIPTION

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

NOTES

64       glGetHistogramParameter is present only if ARB_imaging is returned when
65       glGetString() is called with an argument of GL_EXTENSIONS.
66

ERRORS

68       GL_INVALID_ENUM is generated if target is not one of the allowable
69       values.
70
71       GL_INVALID_ENUM is generated if pname is not one of the allowable
72       values.
73
74       GL_INVALID_OPERATION is generated if glGetHistogramParameter is
75       executed between the execution of glBegin() and the corresponding
76       execution of glEnd().
77

SEE ALSO

79       glGetHistogram(), glHistogram()
80
82       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
83       under the SGI Free Software B License. For details, see
84       http://oss.sgi.com/projects/FreeB/.
85

AUTHORS

87       opengl.org
88
89
90
91opengl.org                        06/10/2014          GLGETHISTOGRAMPARAME(3G)
Impressum