gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.EXT.Histogram

Synopsis

Extension Support

gl_EXT_histogram :: Bool Source #

Checks that the GL_EXT_histogram extension is available.

GL_EXT_histogram

glGetHistogramParameterfvEXT :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetHistogramParameterfvEXT target pname params

The parameter target is a HistogramTargetEXT, one of: GL_HISTOGRAM, GL_HISTOGRAM_EXT, GL_PROXY_HISTOGRAM, GL_PROXY_HISTOGRAM_EXT.

The parameter pname is a GetHistogramParameterPNameEXT, one of: GL_HISTOGRAM_ALPHA_SIZE_EXT, GL_HISTOGRAM_BLUE_SIZE_EXT, GL_HISTOGRAM_FORMAT_EXT, GL_HISTOGRAM_GREEN_SIZE_EXT, GL_HISTOGRAM_LUMINANCE_SIZE_EXT, GL_HISTOGRAM_RED_SIZE_EXT, GL_HISTOGRAM_SINK_EXT, GL_HISTOGRAM_WIDTH_EXT.

The length of params should be COMPSIZE(pname).

glGetHistogramParameterivEXT :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetHistogramParameterivEXT target pname params

The parameter target is a HistogramTargetEXT, one of: GL_HISTOGRAM, GL_HISTOGRAM_EXT, GL_PROXY_HISTOGRAM, GL_PROXY_HISTOGRAM_EXT.

The parameter pname is a GetHistogramParameterPNameEXT, one of: GL_HISTOGRAM_ALPHA_SIZE_EXT, GL_HISTOGRAM_BLUE_SIZE_EXT, GL_HISTOGRAM_FORMAT_EXT, GL_HISTOGRAM_GREEN_SIZE_EXT, GL_HISTOGRAM_LUMINANCE_SIZE_EXT, GL_HISTOGRAM_RED_SIZE_EXT, GL_HISTOGRAM_SINK_EXT, GL_HISTOGRAM_WIDTH_EXT.

The length of params should be COMPSIZE(pname).

glGetMinmaxParameterfvEXT :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetMinmaxParameterfvEXT target pname params

The parameter target is a MinmaxTargetEXT, one of: GL_MINMAX, GL_MINMAX_EXT.

The parameter pname is a GetMinmaxParameterPNameEXT, one of: GL_MINMAX_FORMAT, GL_MINMAX_FORMAT_EXT, GL_MINMAX_SINK, GL_MINMAX_SINK_EXT.

The length of params should be COMPSIZE(pname).

glGetMinmaxParameterivEXT :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetMinmaxParameterivEXT target pname params

The parameter target is a MinmaxTargetEXT, one of: GL_MINMAX, GL_MINMAX_EXT.

The parameter pname is a GetMinmaxParameterPNameEXT, one of: GL_MINMAX_FORMAT, GL_MINMAX_FORMAT_EXT, GL_MINMAX_SINK, GL_MINMAX_SINK_EXT.

The length of params should be COMPSIZE(pname).

glHistogramEXT :: MonadIO m => GLenum -> GLsizei -> GLenum -> GLboolean -> m () Source #

Usage: glHistogramEXT target width internalformat sink

The parameter target is a HistogramTargetEXT, one of: GL_HISTOGRAM, GL_HISTOGRAM_EXT, GL_PROXY_HISTOGRAM, GL_PROXY_HISTOGRAM_EXT.

The parameter internalformat is a InternalFormat, one of: GL_ALPHA12, GL_ALPHA16, GL_ALPHA16_ICC_SGIX, GL_ALPHA4, GL_ALPHA8, GL_ALPHA_ICC_SGIX, GL_DEPTH_COMPONENT16_SGIX, GL_DEPTH_COMPONENT24_SGIX, GL_DEPTH_COMPONENT32_SGIX, GL_DUAL_ALPHA12_SGIS, GL_DUAL_ALPHA16_SGIS, GL_DUAL_ALPHA4_SGIS, GL_DUAL_ALPHA8_SGIS, GL_DUAL_INTENSITY12_SGIS, GL_DUAL_INTENSITY16_SGIS, GL_DUAL_INTENSITY4_SGIS, GL_DUAL_INTENSITY8_SGIS, GL_DUAL_LUMINANCE12_SGIS, GL_DUAL_LUMINANCE16_SGIS, GL_DUAL_LUMINANCE4_SGIS, GL_DUAL_LUMINANCE8_SGIS, GL_DUAL_LUMINANCE_ALPHA4_SGIS, GL_DUAL_LUMINANCE_ALPHA8_SGIS, GL_INTENSITY, GL_INTENSITY12, GL_INTENSITY16, GL_INTENSITY16_ICC_SGIX, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY_ICC_SGIX, GL_LUMINANCE12, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE16, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE16_ALPHA8_ICC_SGIX, GL_LUMINANCE16_ICC_SGIX, GL_LUMINANCE4, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE_ALPHA_ICC_SGIX, GL_LUMINANCE_ICC_SGIX, GL_QUAD_ALPHA4_SGIS, GL_QUAD_ALPHA8_SGIS, GL_QUAD_INTENSITY4_SGIS, GL_QUAD_INTENSITY8_SGIS, GL_QUAD_LUMINANCE4_SGIS, GL_QUAD_LUMINANCE8_SGIS, GL_R3_G3_B2, GL_R5_G6_B5_A8_ICC_SGIX, GL_R5_G6_B5_ICC_SGIX, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB2_EXT, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RGBA_ICC_SGIX, GL_RGB_ICC_SGIX.

The parameter sink is a Boolean, one of: GL_FALSE, GL_TRUE.

This command is an alias for glHistogram.

glMinmaxEXT :: MonadIO m => GLenum -> GLenum -> GLboolean -> m () Source #

Usage: glMinmaxEXT target internalformat sink

The parameter target is a MinmaxTargetEXT, one of: GL_MINMAX, GL_MINMAX_EXT.

The parameter internalformat is a InternalFormat, one of: GL_ALPHA12, GL_ALPHA16, GL_ALPHA16_ICC_SGIX, GL_ALPHA4, GL_ALPHA8, GL_ALPHA_ICC_SGIX, GL_DEPTH_COMPONENT16_SGIX, GL_DEPTH_COMPONENT24_SGIX, GL_DEPTH_COMPONENT32_SGIX, GL_DUAL_ALPHA12_SGIS, GL_DUAL_ALPHA16_SGIS, GL_DUAL_ALPHA4_SGIS, GL_DUAL_ALPHA8_SGIS, GL_DUAL_INTENSITY12_SGIS, GL_DUAL_INTENSITY16_SGIS, GL_DUAL_INTENSITY4_SGIS, GL_DUAL_INTENSITY8_SGIS, GL_DUAL_LUMINANCE12_SGIS, GL_DUAL_LUMINANCE16_SGIS, GL_DUAL_LUMINANCE4_SGIS, GL_DUAL_LUMINANCE8_SGIS, GL_DUAL_LUMINANCE_ALPHA4_SGIS, GL_DUAL_LUMINANCE_ALPHA8_SGIS, GL_INTENSITY, GL_INTENSITY12, GL_INTENSITY16, GL_INTENSITY16_ICC_SGIX, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY_ICC_SGIX, GL_LUMINANCE12, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE16, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE16_ALPHA8_ICC_SGIX, GL_LUMINANCE16_ICC_SGIX, GL_LUMINANCE4, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE_ALPHA_ICC_SGIX, GL_LUMINANCE_ICC_SGIX, GL_QUAD_ALPHA4_SGIS, GL_QUAD_ALPHA8_SGIS, GL_QUAD_INTENSITY4_SGIS, GL_QUAD_INTENSITY8_SGIS, GL_QUAD_LUMINANCE4_SGIS, GL_QUAD_LUMINANCE8_SGIS, GL_R3_G3_B2, GL_R5_G6_B5_A8_ICC_SGIX, GL_R5_G6_B5_ICC_SGIX, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB2_EXT, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RGBA_ICC_SGIX, GL_RGB_ICC_SGIX.

The parameter sink is a Boolean, one of: GL_FALSE, GL_TRUE.

This command is an alias for glMinmax.

glResetHistogramEXT :: MonadIO m => GLenum -> m () Source #

Usage: glResetHistogramEXT target

The parameter target is a HistogramTargetEXT, one of: GL_HISTOGRAM, GL_HISTOGRAM_EXT, GL_PROXY_HISTOGRAM, GL_PROXY_HISTOGRAM_EXT.

This command is an alias for glResetHistogram.

glResetMinmaxEXT :: MonadIO m => GLenum -> m () Source #

Usage: glResetMinmaxEXT target

The parameter target is a MinmaxTargetEXT, one of: GL_MINMAX, GL_MINMAX_EXT.

This command is an alias for glResetMinmax.

pattern GL_HISTOGRAM_ALPHA_SIZE_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_BLUE_SIZE_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_FORMAT_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_GREEN_SIZE_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_RED_SIZE_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_SINK_EXT :: (Eq a, Num a) => a Source #

pattern GL_HISTOGRAM_WIDTH_EXT :: (Eq a, Num a) => a Source #

pattern GL_MINMAX_EXT :: (Eq a, Num a) => a Source #

pattern GL_MINMAX_FORMAT_EXT :: (Eq a, Num a) => a Source #

pattern GL_MINMAX_SINK_EXT :: (Eq a, Num a) => a Source #

pattern GL_PROXY_HISTOGRAM_EXT :: (Eq a, Num a) => a Source #

pattern GL_TABLE_TOO_LARGE_EXT :: (Eq a, Num a) => a Source #