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: ParameterDescriptionGL_HISTOGRAM_WIDTH Histogram table width GL_HISTOGRAM_FORMAT Internal format GL_HISTOGRAM_RED_SIZE Red component counter size, in bits GL_HISTOGRAM_GREEN_SIZE Green component counter size, in bits 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 parameter
glGetHistogramParameter is present only if ARB_imaging is returned when glGetString is called with an argument of GL_EXTENSIONS.
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
glGetHistogramParameter: man2/glGetHistogramParameter.xml
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: Parameter Description GL_HISTOGRAM_WIDTH Histogram table width GL_HISTOGRAM_FORMAT Internal format GL_HISTOGRAM_RED_SIZE Red component counter size, in bits GL_HISTOGRAM_GREEN_SIZE Green component counter size, in bits 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 parameter
glGetHistogramParameter is present only if ARB_imaging is returned when glGetString is called with an argument of GL_EXTENSIONS.