OpenGL-2.2.1.1: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de

Graphics.Rendering.OpenGL.GL.StateVar

Description

 

Synopsis

Documentation

set :: [IO ()] -> IO ()Source

makeStateVar :: IO a -> (a -> IO ()) -> StateVar aSource

($~) :: (HasGetter v, HasSetter v) => v a -> (a -> a) -> IO ()Source

A modificator convenience function.

($=!) :: HasSetter s => s a -> a -> IO ()Source

A strict variant of $=.

($~!) :: (HasGetter v, HasSetter v) => v a -> (a -> a) -> IO ()Source

A strict variant of $~.