Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Buffer
- data DrawState
- refDrawCtx :: GLES => Ctx -> Draw a -> IORef DrawState -> IO a
- runDrawCtx :: Ctx -> Draw a -> DrawState -> IO (a, DrawState)
- execDrawCtx :: Ctx -> Draw a -> DrawState -> IO DrawState
- evalDrawCtx :: Ctx -> Draw a -> DrawState -> IO a
- drawInit :: GLES => Draw ()
- drawState :: GLES => Int -> Int -> IO DrawState
- clearBuffers :: GLES => [Buffer] -> Draw ()
- drawLayer :: GLES => Layer -> Draw ()
- drawGet :: Draw DrawState
- removeGeometry :: GLES => Geometry is -> Draw ()
- removeTexture :: GLES => Texture -> Draw ()
- removeProgram :: GLES => Program gs is -> Draw ()
- resizeViewport :: GLES => Int -> Int -> Draw ()
- renderLayer :: GLES => RenderLayer a -> Draw (a, [Texture])
- gl :: GL a -> Draw a
Documentation
refDrawCtx :: GLES => Ctx -> Draw a -> IORef DrawState -> IO a Source #
Run a Draw action using an IORef and a context.
Create a DrawState
.
clearBuffers :: GLES => [Buffer] -> Draw () Source #
removeGeometry :: GLES => Geometry is -> Draw () Source #