OpenGL-2.2.3.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de

Graphics.Rendering.OpenGL.GL.PerFragment

Contents

Description

This module corresponds to section 4.1 (Per-Fragment Operations) of the OpenGL 2.1 specs.

Synopsis

Scissor Test

Multisample Fragment Operations

Depth Bounds Test

Alpha Test

Stencil Test

Depth Buffer Test

Occlusion Queries

newtype QueryObject Source

Constructors

QueryObject GLuint 

data QueryTarget Source

Constructors

SamplesPassed 

withQuery :: QueryTarget -> QueryObject -> IO a -> IO aSource

Convenience function for an exception-safe combination of beginQuery and endQuery.

Blending

Dithering

Logical Operation