Safe Haskell | None |
---|
- data Texture
- imageTexture :: DynamicImage -> IO (Either [Char] Texture)
- readTexture :: FilePath -> IO (Either String Texture)
- readTextures :: Traversable t => t FilePath -> IO (Either String (t Texture))
- readTextures' :: Traversable t => t FilePath -> IO (t Texture)
Documentation
imageTexture :: DynamicImage -> IO (Either [Char] Texture)Source
Try to convert a JuicyPixels image to a texture.
readTextures :: Traversable t => t FilePath -> IO (Either String (t Texture))Source
Try to read a structure of files into a structure of textures.
readTextures' :: Traversable t => t FilePath -> IO (t Texture)Source
Read a structure of files into a structure of textures, raising an error if it fails.