Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.6

glGetHistogramParameter(3gl)


GLGETHISTOGRAMPARAMETER

GLGETHISTOGRAMPARAMETER

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
SEE ALSO

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 argument:

Image /web_man_pages/man_unzipped/en/centos/5/5.61.png

Image /web_man_pages/man_unzipped/en/centos/5/5.62.png

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(3gl)