Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to section 5.4 (Display Lists) of the OpenGL 2.1 specs.
Synopsis
- 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
Defining Display Lists
newtype DisplayList Source #
Instances
defineList :: DisplayList -> ListMode -> IO a -> IO a Source #
defineNewList :: ListMode -> IO a -> IO DisplayList Source #
Calling Display Lists
callList :: DisplayList -> IO () Source #