Safe Haskell | None |
---|---|
Language | Haskell2010 |
Extension Support
gl_EXT_color_subtable :: Bool Source #
Checks that the GL_EXT_color_subtable extension is available.
GL_EXT_color_subtable
glColorSubTableEXT :: MonadIO m => GLenum -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glColorSubTableEXT
target start count format type data
The parameter target
is a ColorTableTarget
.
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 data
should be COMPSIZE(format,type,count)
.
This command is an alias for glColorSubTable
.
glCopyColorSubTableEXT :: MonadIO m => GLenum -> GLsizei -> GLint -> GLint -> GLsizei -> m () Source #
Usage: glCopyColorSubTableEXT
target start x y width
The parameter target
is a ColorTableTarget
.
The parameter x
is a WinCoord
.
The parameter y
is a WinCoord
.
This command is an alias for glCopyColorSubTable
.