OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Safe HaskellNone

Graphics.Rendering.OpenGL.GL.DisplayLists

Contents

Description

This module corresponds to section 5.4 (Display Lists) of the OpenGL 2.1 specs.

Synopsis

Defining Display Lists

data ListMode Source

Constructors

Compile 
CompileAndExecute 

Instances

Eq ListMode 
Ord ListMode 
Show ListMode 

defineList :: DisplayList -> ListMode -> IO a -> IO aSource

Calling Display Lists

callLists :: GLsizei -> DataType -> Ptr a -> IO ()Source

Deprecated Functions

genLists :: GLsizei -> IO [DisplayList]Source

Deprecated: use genObjectNames instead

deleteLists :: [DisplayList] -> IO ()Source

Deprecated: use deleteObjectNames instead

isList :: DisplayList -> IO BoolSource

Deprecated: use isObjectName instead