| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FWGL.Graphics.Draw
- 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 ()
- 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.
textureUniform :: (GLES, BackendIO) => Texture -> Draw ActiveTexture
setProgram :: GLES => Program g i -> Draw ()
Set the program.