C# Class Coffee.UIExtensions.MaterialCache

Datei anzeigen Open project: antoinechedin/from-the-shadows Class Usage Examples

Public Properties

Property Type Description
materialCaches List

Public Methods

Method Description
Register ( ulong hash, System.Func onCreateMaterial ) : MaterialCache
Register ( ulong hash, Texture texture, System.Func onCreateMaterial ) : MaterialCache
Unregister ( MaterialCache cache ) : void

Private Methods

Method Description
ClearCache ( ) : void

Method Details

Register() public static method

public static Register ( ulong hash, System.Func onCreateMaterial ) : MaterialCache
hash ulong
onCreateMaterial System.Func
return MaterialCache

Register() public static method

public static Register ( ulong hash, Texture texture, System.Func onCreateMaterial ) : MaterialCache
hash ulong
texture Texture
onCreateMaterial System.Func
return MaterialCache

Unregister() public static method

public static Unregister ( MaterialCache cache ) : void
cache MaterialCache
return void

Property Details

materialCaches public_oe static_oe property

public static List materialCaches
return List