Portability | portable |
---|---|
Stability | stable |
Maintainer | sven.panne@aedion.de |
This module corresponds to a part of section 3.6.1 (Pixel Storage Modes) of the OpenGL 2.1 specs.
- data PixelMapTarget
- class Storable c => PixelMapComponent c
- class PixelMap m where
- withNewPixelMap :: PixelMapComponent c => Int -> (Ptr c -> GL ()) -> GL (m c)
- withPixelMap :: PixelMapComponent c => m c -> (Int -> Ptr c -> GL a) -> GL a
- newPixelMap :: PixelMapComponent c => [c] -> GL (m c)
- getPixelMapComponents :: PixelMapComponent c => m c -> GL [c]
- data GLpixelmap a
- maxPixelMapTable :: GettableStateVar GLsizei
- pixelMap :: (PixelMap m, PixelMapComponent c) => PixelMapTarget -> StateVar (m c)
- pixelMapIToRGBA :: PixelMapComponent c => StateVar [Color4 c]
- pixelMapRGBAToRGBA :: PixelMapComponent c => StateVar [Color4 c]
Documentation
class Storable c => PixelMapComponent c Source
withNewPixelMap :: PixelMapComponent c => Int -> (Ptr c -> GL ()) -> GL (m c)Source
withPixelMap :: PixelMapComponent c => m c -> (Int -> Ptr c -> GL a) -> GL aSource
newPixelMap :: PixelMapComponent c => [c] -> GL (m c)Source
getPixelMapComponents :: PixelMapComponent c => m c -> GL [c]Source
data GLpixelmap a Source
PixelMap GLpixelmap | |
Eq (GLpixelmap a) | |
Ord (GLpixelmap a) | |
Show (GLpixelmap a) |
pixelMap :: (PixelMap m, PixelMapComponent c) => PixelMapTarget -> StateVar (m c)Source
pixelMapIToRGBA :: PixelMapComponent c => StateVar [Color4 c]Source
Convenience state variable
pixelMapRGBAToRGBA :: PixelMapComponent c => StateVar [Color4 c]Source
Convenience state variable