OpenGL-2.2.3.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de

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 

data FrontFaceDirection Source

Constructors

CW 
CCW 

Lighting Parameter Specification

data Face Source

Constructors

Front 
Back 
FrontAndBack 

ColorMaterial

Flatshading

data ShadingModel Source

Constructors

Flat 
Smooth