OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainer[email protected]
Safe HaskellNone

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

Blending

blendBuffer :: DrawBufferIndex -> StateVar CapabilitySource

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

for backward compatibility reasons