Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mkTexture :: GLES => Int -> Int -> [Color] -> Texture
- textureURL :: String -> Texture
- textureFile :: String -> Texture
- textureHash :: TextureImage -> Int
- emptyTexture :: GLES => GL Texture
Documentation
Creates a Texture
from a list of pixels.
textureFile :: String -> Texture Source
The same as textureURL
.
textureHash :: TextureImage -> Int Source
emptyTexture :: GLES => GL Texture Source