TriLib 2.2.8
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TriLibCore.Mappers.PerFilenameTextureMapper Class Reference

Represents a Texture Mapper that tries to find Textures with the same name as the input Model in the input path. More...

Inheritance diagram for TriLibCore.Mappers.PerFilenameTextureMapper:
TriLibCore.Mappers.TextureMapper

Public Member Functions

override void Map (TextureLoadingContext textureLoadingContext)
 Tries to retrieve a Stream to the Texture native data based on the given context.
 
- Public Member Functions inherited from TriLibCore.Mappers.TextureMapper
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.
 

Additional Inherited Members

- Public Attributes inherited from TriLibCore.Mappers.TextureMapper
int CheckingOrder
 Defines the mapper priority when using other mappers in the same AssetLoaderOptions.
 

Detailed Description

Represents a Texture Mapper that tries to find Textures with the same name as the input Model in the input path.

Member Function Documentation

◆ Map()

override void TriLibCore.Mappers.PerFilenameTextureMapper.Map ( TextureLoadingContext  textureLoadingContext)
virtual

Tries to retrieve a Stream to the Texture native data based on the given context.

Parameters
textureLoadingContextThe context containing all the Texture data.

Reimplemented from TriLibCore.Mappers.TextureMapper.