ombra-0.1.0.0: Render engine.

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Internal.GL

Synopsis

Documentation

data GL a Source #

Instances

Monad GL Source # 

Methods

(>>=) :: GL a -> (a -> GL b) -> GL b #

(>>) :: GL a -> GL b -> GL b #

return :: a -> GL a #

fail :: String -> GL a #

Functor GL Source # 

Methods

fmap :: (a -> b) -> GL a -> GL b #

(<$) :: a -> GL b -> GL a #

Applicative GL Source # 

Methods

pure :: a -> GL a #

(<*>) :: GL (a -> b) -> GL a -> GL b #

(*>) :: GL a -> GL b -> GL b #

(<*) :: GL a -> GL b -> GL a #

MonadIO GL Source # 

Methods

liftIO :: IO a -> GL a #

newtype ActiveTexture Source #

Constructors

ActiveTexture Word 

liftIO :: MonadIO m => forall a. IO a -> m a #

Lift a computation from the IO monad.

evalGL :: GL a -> Ctx -> IO a Source #

blendColor :: GLES => Float -> Float -> Float -> Float -> GL () Source #

clear :: GLES => GLEnum -> GL () Source #

clearColor :: GLES => Float -> Float -> Float -> Float -> GL () Source #

enable :: GLES => GLEnum -> GL () Source #

finish :: GLES => GL () Source #

flush :: GLES => GL () Source #

hint :: GLES => GLEnum -> GLEnum -> GL () Source #

scissor :: GLES => GLInt -> GLInt -> GLSize -> GLSize -> GL () Source #

viewport :: GLES => GLInt -> GLInt -> GLSize -> GLSize -> GL () Source #