Portability | portable |
---|---|
Stability | provisional |
Maintainer | [email protected] |
Graphics.Rendering.OpenGL.GL.ReadCopyPixels
Contents
Description
This module corresponds to section 4.3 (Drawing, Reading, and Copying Pixels) of the OpenGL 1.5 specs.
- readPixels :: Position -> Size -> PixelData a -> IO ()
- readBuffer :: StateVar BufferMode
- data PixelCopyType
- = CopyColor
- | CopyDepth
- | CopyStencil
- copyPixels :: Position -> Size -> PixelCopyType -> IO ()
Reading Pixels
Copying Pixels
copyPixels :: Position -> Size -> PixelCopyType -> IO ()Source