Portability | portable |
---|---|
Stability | stable |
Maintainer | sven.panne@aedion.de |
This module corresponds to section 4.3 (Drawing, Reading, and Copying Pixels) of the OpenGL 2.1 specs.
- readPixels :: Position -> Size -> PixelData a -> GL ()
- readBuffer :: StateVar BufferMode
- data PixelCopyType
- = CopyColor
- | CopyDepth
- | CopyStencil
- copyPixels :: Position -> Size -> PixelCopyType -> GL ()
Reading Pixels
Copying Pixels
data PixelCopyType Source
copyPixels :: Position -> Size -> PixelCopyType -> GL ()Source