OpenGL-3.0.3.0: A binding for the OpenGL graphics system

Copyright(c) Sven Panne 2002-2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.GL.PerFragment

Contents

Description

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

Synopsis

Discarding Primitives Before Rasterization

Scissor Test

Multisample Fragment Operations

Depth Bounds Test

Alpha Test

Stencil Test

Depth Buffer Test

Blending

blendBuffer :: DrawBufferIndex -> StateVar Capability Source #

enable or disable blending based on the buffer bound to the i'th drawBuffer that is the buffer fmap (!! i) (get drawBuffers)

Dithering

Logical Operation