OpenGL-2.4.0.1: 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

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

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

Blending

Dithering

Logical Operation