TriLib 2.2.8
|
Represents a Mapper used to load Textures using the original Texture filename or the embedded Texture data. More...
Public Member Functions | |
virtual TextureLoadingContext | Map (AssetLoaderContext assetLoaderContext, ITexture texture) |
virtual void | Map (TextureLoadingContext textureLoadingContext) |
Tries to retrieve a Stream to the Texture native data based on the given context. | |
Public Attributes | |
int | CheckingOrder |
Defines the mapper priority when using other mappers in the same AssetLoaderOptions. | |
Represents a Mapper used to load Textures using the original Texture filename or the embedded Texture data.
|
virtual |
assetLoaderContext | The Asset Loader Context reference. Asset Loader Context contains the Model loading data. |
texture | The source Texture to load the Stream from. |
|
virtual |
Tries to retrieve a Stream to the Texture native data based on the given context.
textureLoadingContext | The context containing all the Texture data. |
Reimplemented in TriLibCore.Mappers.PerFilenameTextureMapper, and TriLibCore.Mappers.ZipFileTextureMapper.