HOpenGL Libraries (OpenGL package)ContentsIndex
Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable
Portability portable
Stability provisional
Maintainer sven.panne@aedion.de
Description
This module corresponds to a part of section 3.6.1 (Pixel Storage Modes) of the OpenGL 1.5 specs.
Synopsis
data ColorTableStage
= ColorTableStage
| PostConvolutionColorTableStage
| PostColorMatrixColorTableStage
| TextureColorTableStage
colorTableStage :: ColorTableStage -> StateVar Capability
data Proxy
= NoProxy
| Proxy
data ColorTable
= ColorTable
| PostConvolutionColorTable
| PostColorMatrixColorTable
| Texture1DColorTable
| Texture2DColorTable
| Texture3DColorTable
| TextureCubeMapColorTable
| TextureColorTable
| SharedTexturePalette
data PixelInternalFormat
= Alpha'
| DepthComponent'
| Luminance'
| LuminanceAlpha'
| Intensity
| RGB'
| RGBA'
| Alpha4
| Alpha8
| Alpha12
| Alpha16
| DepthComponent16
| DepthComponent24
| DepthComponent32
| Luminance4
| Luminance8
| Luminance12
| Luminance16
| Luminance4Alpha4
| Luminance6Alpha2
| Luminance8Alpha8
| Luminance12Alpha4
| Luminance12Alpha12
| Luminance16Alpha16
| Intensity4
| Intensity8
| Intensity12
| Intensity16
| R3G3B2
| RGB4
| RGB5
| RGB8
| RGB10
| RGB12
| RGB16
| RGBA2
| RGBA4
| RGB5A1
| RGBA8
| RGB10A2
| RGBA12
| RGBA16
| CompressedAlpha
| CompressedLuminance
| CompressedLuminanceAlpha
| CompressedIntensity
| CompressedRGB
| CompressedRGBA
colorTable :: Proxy -> ColorTable -> PixelInternalFormat -> GLsizei -> PixelData a -> IO ()
getColorTable :: ColorTable -> PixelData a -> IO ()
copyColorTable :: ColorTable -> PixelInternalFormat -> Position -> GLsizei -> IO ()
colorSubTable :: ColorTable -> GLsizei -> GLsizei -> PixelData a -> IO ()
copyColorSubTable :: ColorTable -> GLsizei -> Position -> GLsizei -> IO ()
colorTableScale :: ColorTableStage -> StateVar (Color4 GLfloat)
colorTableBias :: ColorTableStage -> StateVar (Color4 GLfloat)
colorTableFormat :: ColorTable -> GettableStateVar PixelInternalFormat
colorTableWidth :: ColorTable -> GettableStateVar GLsizei
colorTableRGBASizes :: ColorTable -> GettableStateVar (Color4 GLsizei)
colorTableLuminanceSize :: ColorTable -> GettableStateVar GLsizei
colorTableIntesitySize :: ColorTable -> GettableStateVar GLsizei
Produced by Haddock version 0.6