| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FWGL.Texture
- data Texture
- data LoadedTexture = LoadedTexture GLSize GLSize Texture
- mkTexture :: GLES => Int -> Int -> [Color] -> Texture
- textureURL :: String -> Texture
- textureFile :: String -> Texture
- textureHash :: Texture -> Int
Documentation
data LoadedTexture
Constructors
| LoadedTexture GLSize GLSize Texture |
Creates a Texture from a list of pixels.
textureFile :: String -> Texture
Creates a Texture from a file (Desktop only).
textureHash :: Texture -> Int