Copyright | (c) Sven Panne 2002-2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to section 4.3 (Drawing, Reading, and Copying Pixels) of the OpenGL 2.1 specs.
- readPixels :: Position -> Size -> PixelData a -> IO ()
- readBuffer :: StateVar BufferMode
- data PixelCopyType
- copyPixels :: Position -> Size -> PixelCopyType -> IO ()
- data BlitBuffer
- blitFramebuffer :: Position -> Position -> Position -> Position -> [BlitBuffer] -> TextureFilter -> IO ()
Reading Pixels
Copying Pixels
data PixelCopyType Source #
copyPixels :: Position -> Size -> PixelCopyType -> IO () Source #
Copying Pixels for framebuffers
data BlitBuffer Source #
The buffers which can be copied with blitFramebuffer
.
blitFramebuffer :: Position -> Position -> Position -> Position -> [BlitBuffer] -> TextureFilter -> IO () Source #