OpenGL-2.2.1.1: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de

Graphics.Rendering.OpenGL.GL.ReadCopyPixels

Contents

Description

This module corresponds to section 4.3 (Drawing, Reading, and Copying Pixels) of the OpenGL 2.1 specs.

Synopsis

Reading Pixels

readPixels :: Position -> Size -> PixelData a -> IO ()

Copying Pixels