Tanoda
TriLibCore.Samples.SimpleTextureMapper Class Reference

Custom texture mapper which works with callbacks. More...

Inheritance diagram for TriLibCore.Samples.SimpleTextureMapper:

Public Member Functions

void Setup (Func< ITexture, Stream > streamReceivingCallback)
 
override TextureLoadingContext Map (AssetLoaderContext assetLoaderContext, ITexture texture)
 

Detailed Description

Custom texture mapper which works with callbacks.

Definition at line 37 of file SimpleCustomAssetLoader.cs.

Member Function Documentation

◆ Map()

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

Definition at line 47 of file SimpleCustomAssetLoader.cs.

◆ Setup()

void TriLibCore.Samples.SimpleTextureMapper.Setup ( Func< ITexture, Stream >  streamReceivingCallback)

Definition at line 41 of file SimpleCustomAssetLoader.cs.


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