Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mkTexture :: GLES => Int -> Int -> [Color] -> Texture
- textureURL :: String -> Texture
- textureFile :: String -> Texture
- textureLayer :: GLES => Int -> Int -> Layer -> Texture
- textureHash :: TextureImage -> Int
- emptyTexture :: GLES => GL Texture
Documentation
Creates a Texture
from a list of pixels.
textureFile :: String -> Texture Source
Creates a Texture
from a file (Desktop only).
textureHash :: TextureImage -> Int Source
emptyTexture :: GLES => GL Texture Source