Portability | portable |
---|---|
Stability | provisional |
Maintainer | [email protected] |
Graphics.Rendering.OpenGL.GL.DisplayLists
Description
This module corresponds to section 5.4 (Display Lists) of the OpenGL 1.5 specs.
- newtype DisplayList = DisplayList GLuint
- data ListMode
- defineList :: DisplayList -> ListMode -> IO a -> IO a
- defineNewList :: ListMode -> IO a -> IO DisplayList
- listIndex :: GettableStateVar (Maybe DisplayList)
- listMode :: GettableStateVar ListMode
- maxListNesting :: GettableStateVar GLsizei
- callList :: DisplayList -> IO ()
- callLists :: GLsizei -> DataType -> Ptr a -> IO ()
- listBase :: StateVar DisplayList
- genLists :: GLsizei -> IO [DisplayList]
- deleteLists :: [DisplayList] -> IO ()
- isList :: DisplayList -> IO Bool
Defining Display Lists
Constructors
Compile | |
CompileAndExecute |
defineList :: DisplayList -> ListMode -> IO a -> IO aSource
defineNewList :: ListMode -> IO a -> IO DisplayListSource
Calling Display Lists
callList :: DisplayList -> IO ()Source
Deprecated Functions
genLists :: GLsizei -> IO [DisplayList]Source
deleteLists :: [DisplayList] -> IO ()Source
isList :: DisplayList -> IO BoolSource