OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Safe HaskellNone

Graphics.Rendering.OpenGL.GL.Colors

Contents

Description

This module corresponds to section 2.14 (Colors and Coloring) of the OpenGL 2.1 specs.

Synopsis

Lighting

newtype Light Source

Constructors

Light GLsizei 

Instances

Eq Light 
Ord Light 
Show Light 

Lighting Parameter Specification

data Face Source

Constructors

Front 
Back 
FrontAndBack 

Instances

Eq Face 
Ord Face 
Show Face 

ColorMaterial

Flatshading

data ShadingModel Source

Constructors

Flat 
Smooth 

Instances

Color clamping