Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype URI = URI Text
- loadURI :: HasCallStack => (FilePath -> IO (Either String ByteString)) -> URI -> IO (Either String ByteString)
Documentation
The URI of the buffer or image.
Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri.
loadURI :: HasCallStack => (FilePath -> IO (Either String ByteString)) -> URI -> IO (Either String ByteString) Source #