Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Draw a
- data DrawState
- execDraw :: Draw () -> DrawState -> GL DrawState
- drawInit :: (BackendIO, GLES) => Int -> Int -> GL DrawState
- drawBegin :: GLES => Draw ()
- drawLayer :: (GLES, BackendIO) => Layer -> Draw ()
- drawEnd :: GLES => Draw ()
- removeGeometry :: GLES => Geometry is -> Draw ()
- removeTexture :: BackendIO => Texture -> Draw ()
- removeProgram :: GLES => Program gs is -> Draw ()
- textureUniform :: (GLES, BackendIO) => Texture -> Draw ActiveTexture
- textureSize :: (GLES, BackendIO, Num a) => Texture -> Draw (a, a)
- setProgram :: GLES => Program g i -> Draw ()
- resize :: GLES => Int -> Int -> GL ()
Documentation
Create a DrawState
.
removeGeometry :: GLES => Geometry is -> Draw ()
removeTexture :: BackendIO => Texture -> Draw ()
removeProgram :: GLES => Program gs is -> Draw ()
textureUniform :: (GLES, BackendIO) => Texture -> Draw ActiveTexture
setProgram :: GLES => Program g i -> Draw ()
Set the program.