Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_SGI_color_table :: Bool
- glColorTableParameterfvSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m ()
- glColorTableParameterivSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glColorTableSGI :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLenum -> GLenum -> Ptr () -> m ()
- glCopyColorTableSGI :: MonadIO m => GLenum -> GLenum -> GLint -> GLint -> GLsizei -> m ()
- glGetColorTableParameterfvSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m ()
- glGetColorTableParameterivSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glGetColorTableSGI :: MonadIO m => GLenum -> GLenum -> GLenum -> Ptr () -> m ()
- pattern GL_COLOR_TABLE_ALPHA_SIZE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_BIAS_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_BLUE_SIZE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_FORMAT_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_GREEN_SIZE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_INTENSITY_SIZE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_LUMINANCE_SIZE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_RED_SIZE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_SCALE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_SGI :: (Eq a, Num a) => a
- pattern GL_COLOR_TABLE_WIDTH_SGI :: (Eq a, Num a) => a
- pattern GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI :: (Eq a, Num a) => a
- pattern GL_POST_CONVOLUTION_COLOR_TABLE_SGI :: (Eq a, Num a) => a
- pattern GL_PROXY_COLOR_TABLE_SGI :: (Eq a, Num a) => a
- pattern GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI :: (Eq a, Num a) => a
- pattern GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI :: (Eq a, Num a) => a
Extension Support
gl_SGI_color_table :: Bool Source #
Checks that the GL_SGI_color_table extension is available.
GL_SGI_color_table
glColorTableParameterfvSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #
Usage: glColorTableParameterfvSGI
target pname params
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
The parameter pname
is a ColorTableParameterPNameSGI
, one of: GL_COLOR_TABLE_BIAS
, GL_COLOR_TABLE_BIAS_SGI
, GL_COLOR_TABLE_SCALE
, GL_COLOR_TABLE_SCALE_SGI
.
The parameter params
is a CheckedFloat32
.
The length of params
should be COMPSIZE(pname)
.
This command is an alias for glColorTableParameterfv
.
glColorTableParameterivSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glColorTableParameterivSGI
target pname params
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
The parameter pname
is a ColorTableParameterPNameSGI
, one of: GL_COLOR_TABLE_BIAS
, GL_COLOR_TABLE_BIAS_SGI
, GL_COLOR_TABLE_SCALE
, GL_COLOR_TABLE_SCALE_SGI
.
The parameter params
is a CheckedInt32
.
The length of params
should be COMPSIZE(pname)
.
This command is an alias for glColorTableParameteriv
.
glColorTableSGI :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glColorTableSGI
target internalformat width format type table
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
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)
.
This command is an alias for glColorTable
.
glCopyColorTableSGI :: MonadIO m => GLenum -> GLenum -> GLint -> GLint -> GLsizei -> m () Source #
Usage: glCopyColorTableSGI
target internalformat x y width
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
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
.
This command is an alias for glCopyColorTable
.
glGetColorTableParameterfvSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #
Usage: glGetColorTableParameterfvSGI
target pname params
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
The parameter pname
is a GetColorTableParameterPNameSGI
, one of: GL_COLOR_TABLE_ALPHA_SIZE_SGI
, GL_COLOR_TABLE_BIAS_SGI
, GL_COLOR_TABLE_BLUE_SIZE_SGI
, GL_COLOR_TABLE_FORMAT_SGI
, GL_COLOR_TABLE_GREEN_SIZE_SGI
, GL_COLOR_TABLE_INTENSITY_SIZE_SGI
, GL_COLOR_TABLE_LUMINANCE_SIZE_SGI
, GL_COLOR_TABLE_RED_SIZE_SGI
, GL_COLOR_TABLE_SCALE_SGI
, GL_COLOR_TABLE_WIDTH_SGI
.
The length of params
should be COMPSIZE(pname)
.
glGetColorTableParameterivSGI :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetColorTableParameterivSGI
target pname params
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
The parameter pname
is a GetColorTableParameterPNameSGI
, one of: GL_COLOR_TABLE_ALPHA_SIZE_SGI
, GL_COLOR_TABLE_BIAS_SGI
, GL_COLOR_TABLE_BLUE_SIZE_SGI
, GL_COLOR_TABLE_FORMAT_SGI
, GL_COLOR_TABLE_GREEN_SIZE_SGI
, GL_COLOR_TABLE_INTENSITY_SIZE_SGI
, GL_COLOR_TABLE_LUMINANCE_SIZE_SGI
, GL_COLOR_TABLE_RED_SIZE_SGI
, GL_COLOR_TABLE_SCALE_SGI
, GL_COLOR_TABLE_WIDTH_SGI
.
The length of params
should be COMPSIZE(pname)
.
glGetColorTableSGI :: MonadIO m => GLenum -> GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glGetColorTableSGI
target format type table
The parameter target
is a ColorTableTargetSGI
, one of: GL_COLOR_TABLE
, GL_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_COLOR_TABLE
, GL_PROXY_COLOR_TABLE_SGI
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
, GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_PROXY_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COLOR_TABLE_SGI
.
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(target,format,type)
.
pattern GL_COLOR_TABLE_ALPHA_SIZE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_BIAS_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_BLUE_SIZE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_FORMAT_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_GREEN_SIZE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_INTENSITY_SIZE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_LUMINANCE_SIZE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_RED_SIZE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_SCALE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_SGI :: (Eq a, Num a) => a Source #
pattern GL_COLOR_TABLE_WIDTH_SGI :: (Eq a, Num a) => a Source #
pattern GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI :: (Eq a, Num a) => a Source #
pattern GL_POST_CONVOLUTION_COLOR_TABLE_SGI :: (Eq a, Num a) => a Source #
pattern GL_PROXY_COLOR_TABLE_SGI :: (Eq a, Num a) => a Source #
pattern GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI :: (Eq a, Num a) => a Source #
pattern GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI :: (Eq a, Num a) => a Source #