| OpenGL-2.2.1.1: A binding for the OpenGL graphics system | Contents | Index |
|
Graphics.Rendering.OpenGL.GL.StateVar | Portability | portable | Stability | stable | Maintainer | sven.panne@aedion.de |
|
|
|
Description |
|
|
Synopsis |
|
|
|
Documentation |
|
class HasGetter g where |
| Methods | | | Instances | |
|
|
data GettableStateVar a |
Instances | |
|
|
makeGettableStateVar :: IO a -> GettableStateVar a |
|
class HasSetter s where |
| Methods | ($=) :: s a -> a -> IO () |
| | Instances | |
|
|
set :: [IO ()] -> IO () |
|
data SettableStateVar a |
Instances | |
|
|
makeSettableStateVar :: (a -> IO ()) -> SettableStateVar a |
|
data StateVar a |
Instances | |
|
|
makeStateVar :: IO a -> (a -> IO ()) -> StateVar a |
|
($~) :: (HasGetter v, HasSetter v) => v a -> (a -> a) -> IO () |
A modificator convenience function.
|
|
($=!) :: HasSetter s => s a -> a -> IO () |
A strict variant of $=.
|
|
($~!) :: (HasGetter v, HasSetter v) => v a -> (a -> a) -> IO () |
A strict variant of $~.
|
|
Produced by Haddock version 0.8 |