Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Graphics.Rendering.OpenGL.GL.PixelRectangles.Rasterization
Description
This module corresponds to a part of section 3.6.4 (Rasterization of Pixel Rectangles) of the OpenGL 2.1 specs.
Documentation
Constructors
PixelData PixelFormat DataType (Ptr a) |
Instances
Show (PixelData a) Source # | |
Eq (PixelData a) Source # | |
Ord (PixelData a) Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelData |
data PixelFormat Source #
Constructors
Instances
Show PixelFormat Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelFormat Methods showsPrec :: Int -> PixelFormat -> ShowS show :: PixelFormat -> String showList :: [PixelFormat] -> ShowS | |
Eq PixelFormat Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelFormat | |
Ord PixelFormat Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PixelFormat Methods compare :: PixelFormat -> PixelFormat -> Ordering (<) :: PixelFormat -> PixelFormat -> Bool (<=) :: PixelFormat -> PixelFormat -> Bool (>) :: PixelFormat -> PixelFormat -> Bool (>=) :: PixelFormat -> PixelFormat -> Bool max :: PixelFormat -> PixelFormat -> PixelFormat min :: PixelFormat -> PixelFormat -> PixelFormat |
drawPixels :: Size -> PixelData a -> IO () Source #