Interface ITextureLoader

Namespace
Elegy.AssetSystem.Interfaces
Assembly
Elegy.AssetSystem.dll

Texture loader interface.

public interface ITextureLoader : IAssetIo, IPlugin
Inherited Members

Methods

LoadTexture(string, bool, bool)

Loads a texture from the given path.

(TextureMetadata?, byte[]?) LoadTexture(string path, bool withoutData, bool hintSrgb)

Parameters

path string

Full path to an image.

withoutData bool

If true, only load the metadata.

hintSrgb bool

If true, mark the texture as an SRGB one.

Returns

(TextureMetadata, byte[])