| Copyright | (c) Sven Panne 2002-2019 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable
Description
This module corresponds to a part of section 3.6.1 (Pixel Storage Modes) of the OpenGL 2.1 specs.
Documentation
data ColorTableStage Source #
Constructors
| ColorTableStage | |
| PostConvolutionColorTableStage | |
| PostColorMatrixColorTableStage | |
| TextureColorTableStage |
Instances
| Show ColorTableStage Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable Methods showsPrec :: Int -> ColorTableStage -> ShowS show :: ColorTableStage -> String showList :: [ColorTableStage] -> ShowS | |
| Eq ColorTableStage Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable Methods (==) :: ColorTableStage -> ColorTableStage -> Bool (/=) :: ColorTableStage -> ColorTableStage -> Bool | |
| Ord ColorTableStage Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable Methods compare :: ColorTableStage -> ColorTableStage -> Ordering (<) :: ColorTableStage -> ColorTableStage -> Bool (<=) :: ColorTableStage -> ColorTableStage -> Bool (>) :: ColorTableStage -> ColorTableStage -> Bool (>=) :: ColorTableStage -> ColorTableStage -> Bool max :: ColorTableStage -> ColorTableStage -> ColorTableStage min :: ColorTableStage -> ColorTableStage -> ColorTableStage | |
colorTableStage :: ColorTableStage -> StateVar Capability Source #
data ColorTable Source #
Constructors
| ColorTable | |
| PostConvolutionColorTable | |
| PostColorMatrixColorTable | |
| Texture1DColorTable | |
| Texture2DColorTable | |
| Texture3DColorTable | |
| TextureCubeMapColorTable | |
| TextureColorTable | |
| SharedTexturePalette |
Instances
| Show ColorTable Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable Methods showsPrec :: Int -> ColorTable -> ShowS show :: ColorTable -> String showList :: [ColorTable] -> ShowS | |
| Eq ColorTable Source # | |
| Ord ColorTable Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable Methods compare :: ColorTable -> ColorTable -> Ordering (<) :: ColorTable -> ColorTable -> Bool (<=) :: ColorTable -> ColorTable -> Bool (>) :: ColorTable -> ColorTable -> Bool (>=) :: ColorTable -> ColorTable -> Bool max :: ColorTable -> ColorTable -> ColorTable min :: ColorTable -> ColorTable -> ColorTable | |
data PixelInternalFormat Source #
Constructors
Instances
colorTable :: Proxy -> ColorTable -> PixelInternalFormat -> GLsizei -> PixelData a -> IO () Source #
getColorTable :: ColorTable -> PixelData a -> IO () Source #
copyColorTable :: ColorTable -> PixelInternalFormat -> Position -> GLsizei -> IO () Source #
colorSubTable :: ColorTable -> GLsizei -> GLsizei -> PixelData a -> IO () Source #
copyColorSubTable :: ColorTable -> GLsizei -> Position -> GLsizei -> IO () Source #
colorTableScale :: ColorTableStage -> StateVar (Color4 GLfloat) Source #
colorTableBias :: ColorTableStage -> StateVar (Color4 GLfloat) Source #
colorTableFormat :: ColorTable -> GettableStateVar PixelInternalFormat Source #
colorTableWidth :: ColorTable -> GettableStateVar GLsizei Source #
colorTableRGBASizes :: ColorTable -> GettableStateVar (Color4 GLsizei) Source #
colorTableLuminanceSize :: ColorTable -> GettableStateVar GLsizei Source #
colorTableIntesitySize :: ColorTable -> GettableStateVar GLsizei Source #