Safe Haskell | None |
---|---|
Language | Haskell2010 |
Primitives for use in Hylide
- uv :: Vec2
- uvN :: Vec2
- time :: Vec1
- beat :: Vec1
- resolution :: Vec2
- mouse :: Vec2
- audio :: Vec4
- backBuffer :: Texture
- channel1 :: Texture
- channel2 :: Texture
- osc0 :: Vec1
- osc1 :: Vec1
- osc2 :: Vec1
- osc3 :: Vec1
- osc4 :: Vec1
- osc5 :: Vec1
- osc6 :: Vec1
- osc7 :: Vec1
- osc8 :: Vec1
- osc9 :: Vec1
- osc10 :: Vec1
- osc11 :: Vec1
- osc12 :: Vec1
- osc13 :: Vec1
- osc14 :: Vec1
- osc15 :: Vec1
Documentation
Pixel coordinates
(0, 0) is the center of the screen
(1, 1) is the upper right corner
resolution :: Vec2 Source #
Resolution of the screen
backBuffer :: Texture Source #
The last rendered frame, as a texture