OpenGL-2.2.1.1: A binding for the OpenGL graphics systemSource codeContentsIndex
Graphics.Rendering.OpenGL.GL.ReadCopyPixels
Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Contents
Reading Pixels
Copying Pixels
Description
This module corresponds to section 4.3 (Drawing, Reading, and Copying Pixels) of the OpenGL 2.1 specs.
Synopsis
readPixels :: Position -> Size -> PixelData a -> IO ()
readBuffer :: StateVar BufferMode
data PixelCopyType
= CopyColor
| CopyDepth
| CopyStencil
copyPixels :: Position -> Size -> PixelCopyType -> IO ()
Reading Pixels
readPixels :: Position -> Size -> PixelData a -> IO ()Source
readBuffer :: StateVar BufferModeSource
Copying Pixels
data PixelCopyType Source
Constructors
CopyColor
CopyDepth
CopyStencil
show/hide Instances
copyPixels :: Position -> Size -> PixelCopyType -> IO ()Source
Produced by Haddock version 0.9