Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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 Texture
A texture.
Creates a Texture
from a list of pixels.
textureFile :: String -> Texture
Creates a Texture
from a file (Desktop only).
textureHash :: Texture -> Int