OpenGL-3.0.3.0: A binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2002-2019
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell2010

Graphics.Rendering.OpenGL.GL.PixelRectangles.Histogram

Description

This module corresponds to a part of section 3.6.1 (Pixel Storage Modes) of the OpenGL 2.1 specs.

# Documentation

data Sink Source #

Constructors

PassThrough |
Sink |

#### Instances

Instances details

Show Sink Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink Methods showsPrec :: Int -> Sink -> ShowS Source # show :: Sink -> String Source # showList :: [Sink] -> ShowS Source #
Eq Sink Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink Methods (==) :: Sink -> Sink -> Bool Source # (/=) :: Sink -> Sink -> Bool Source #
Ord Sink Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink Methods compare :: Sink -> Sink -> Ordering Source # (<) :: Sink -> Sink -> Bool Source # (<=) :: Sink -> Sink -> Bool Source # (>) :: Sink -> Sink -> Bool Source # (>=) :: Sink -> Sink -> Bool Source # max :: Sink -> Sink -> Sink Source # min :: Sink -> Sink -> Sink Source #

histogram :: Proxy -> StateVar (Maybe (GLsizei, PixelInternalFormat, Sink)) Source #

data Reset Source #

Constructors

NoReset |
Reset |

#### Instances

Instances details

Show Reset Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset Methods showsPrec :: Int -> Reset -> ShowS Source # show :: Reset -> String Source # showList :: [Reset] -> ShowS Source #
Eq Reset Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset Methods (==) :: Reset -> Reset -> Bool Source # (/=) :: Reset -> Reset -> Bool Source #
Ord Reset Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset Methods compare :: Reset -> Reset -> Ordering Source # (<) :: Reset -> Reset -> Bool Source # (<=) :: Reset -> Reset -> Bool Source # (>) :: Reset -> Reset -> Bool Source # (>=) :: Reset -> Reset -> Bool Source # max :: Reset -> Reset -> Reset Source # min :: Reset -> Reset -> Reset Source #

getHistogram :: Reset -> PixelData a -> IO () Source #

resetHistogram :: IO () Source #

histogramRGBASizes :: Proxy -> GettableStateVar (Color4 GLsizei) Source #

histogramLuminanceSize :: Proxy -> GettableStateVar GLsizei Source #