Tanoda
TriLibCore.Samples.TextureMapperSample Class Reference

Represents a class that finds textures at the given model base path. More...

Inheritance diagram for TriLibCore.Samples.TextureMapperSample:

Public Member Functions

override TextureLoadingContext Map (AssetLoaderContext assetLoaderContext, ITexture texture)
 Tries to retrieve a Stream to the Texture native data based on the given context. More...
 

Detailed Description

Represents a class that finds textures at the given model base path.

Definition at line 13 of file TextureMapperSample.cs.

Member Function Documentation

◆ Map()

override TextureLoadingContext TriLibCore.Samples.TextureMapperSample.Map ( AssetLoaderContext  assetLoaderContext,
ITexture  texture 
)

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

Parameters
assetLoaderContextThe Asset Loader Context reference. Asset Loader Context contains the Model loading data.
textureThe source Texture to load the Stream from.
Returns
Return the context containing the texture data.

Definition at line 22 of file TextureMapperSample.cs.


The documentation for this class was generated from the following file: