gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.Imaging

Synopsis

Extension Support

gl_ARB_imaging :: Bool Source #

Checks that the GL_ARB_imaging extension is available.

GL_ARB_imaging

glBlendColor :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glBlendColor red green blue alpha

The parameter red is a ColorF.

The parameter green is a ColorF.

The parameter blue is a ColorF.

The parameter alpha is a ColorF.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendColor.xhtml

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

Usage: glBlendEquation mode

The parameter mode is a BlendEquationMode.

Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendEquation.xhtml

glColorTable :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glColorTable target internalformat width format type table

The parameter target is a ColorTableTarget.

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 format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of table should be COMPSIZE(format,type,width).

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

Usage: glColorTableParameterfv target pname params

The parameter target is a ColorTableTarget.

The parameter pname is a ColorTableParameterPName.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glColorTableParameteriv target pname params

The parameter target is a ColorTableTarget.

The parameter pname is a ColorTableParameterPName.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

glConvolutionFilter1D :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glConvolutionFilter1D target internalformat width format type image

The parameter target is a ConvolutionTarget.

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 format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of image should be COMPSIZE(format,type,width).

glConvolutionFilter2D :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glConvolutionFilter2D target internalformat width height format type image

The parameter target is a ConvolutionTarget.

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 format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of image should be COMPSIZE(format,type,width,height).

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

Usage: glConvolutionParameterf target pname params

The parameter target is a ConvolutionTarget.

The parameter pname is a ConvolutionParameter.

The parameter params is a CheckedFloat32.

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

Usage: glConvolutionParameterfv target pname params

The parameter target is a ConvolutionTarget.

The parameter pname is a ConvolutionParameter.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glConvolutionParameteri target pname params

The parameter target is a ConvolutionTarget.

The parameter pname is a ConvolutionParameter.

The parameter params is a CheckedInt32.

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

Usage: glConvolutionParameteriv target pname params

The parameter target is a ConvolutionTarget.

The parameter pname is a ConvolutionParameter.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

glCopyColorSubTable :: MonadIO m => GLenum -> GLsizei -> GLint -> GLint -> GLsizei -> m () Source #

Usage: glCopyColorSubTable target start x y width

The parameter target is a ColorTableTarget.

The parameter x is a WinCoord.

The parameter y is a WinCoord.

glCopyColorTable :: MonadIO m => GLenum -> GLenum -> GLint -> GLint -> GLsizei -> m () Source #

Usage: glCopyColorTable target internalformat x y width

The parameter target is a ColorTableTarget.

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 x is a WinCoord.

The parameter y is a WinCoord.

glCopyConvolutionFilter1D :: MonadIO m => GLenum -> GLenum -> GLint -> GLint -> GLsizei -> m () Source #

Usage: glCopyConvolutionFilter1D target internalformat x y width

The parameter target is a ConvolutionTarget.

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 x is a WinCoord.

The parameter y is a WinCoord.

glCopyConvolutionFilter2D :: MonadIO m => GLenum -> GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glCopyConvolutionFilter2D target internalformat x y width height

The parameter target is a ConvolutionTarget.

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 x is a WinCoord.

The parameter y is a WinCoord.

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

Usage: glGetColorTableParameterfv target pname params

The parameter target is a ColorTableTarget.

The parameter pname is a GetColorTableParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetColorTableParameteriv target pname params

The parameter target is a ColorTableTarget.

The parameter pname is a GetColorTableParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetConvolutionParameterfv target pname params

The parameter target is a ConvolutionTarget.

The parameter pname is a GetConvolutionParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetConvolutionParameteriv target pname params

The parameter target is a ConvolutionTarget.

The parameter pname is a GetConvolutionParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetHistogramParameterfv target pname params

The parameter target is a HistogramTarget.

The parameter pname is a GetHistogramParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetHistogramParameteriv target pname params

The parameter target is a HistogramTarget.

The parameter pname is a GetHistogramParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetMinmaxParameterfv target pname params

The parameter target is a MinmaxTarget.

The parameter pname is a GetMinmaxParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetMinmaxParameteriv target pname params

The parameter target is a MinmaxTarget.

The parameter pname is a GetMinmaxParameterPName.

The length of params should be COMPSIZE(pname).

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

Usage: glGetSeparableFilter target format type row column span

The parameter target is a SeparableTarget.

The parameter format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of row should be COMPSIZE(target,format,type).

The length of column should be COMPSIZE(target,format,type).

The length of span should be COMPSIZE(target,format,type).

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

Usage: glHistogram target width internalformat sink

The parameter target is a HistogramTarget.

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.

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

Usage: glMinmax target internalformat sink

The parameter target is a MinmaxTarget.

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.

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

Usage: glResetHistogram target

The parameter target is a HistogramTarget.

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

Usage: glResetMinmax target

The parameter target is a MinmaxTarget.

glSeparableFilter2D :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> Ptr () -> m () Source #

Usage: glSeparableFilter2D target internalformat width height format type row column

The parameter target is a SeparableTarget.

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 format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of row should be COMPSIZE(target,format,type,width).

The length of column should be COMPSIZE(target,format,type,height).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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