Interface IDefaultImageFormatLoader
Texture image loader that is able to load glTF core specification image formats (PNG and/or JPEG). Can be used to override the default loading (performed by the ImageConversion module). To add support for texture extensions that add support for an image format that's not in the glTF specification (i.e. that override the image source) use ITextureImageLoader instead.
Inherited Members
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
public interface IDefaultImageFormatLoader : ITextureImageLoader
Methods
IsAbleToLoad(ImageFormat)
Determines if this loader can load the image format detected from glTF JSON clues (mimeType and URI file extension).
Declaration
bool IsAbleToLoad(ImageFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageFormat | format | Source image format. |
Returns
| Type | Description |
|---|---|
| bool | True if the implementation is able to load the given format, false otherwise. |