C# Class FairyGUI.MaterialManager

Every texture and shader combination has a MaterialManager.
Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
CreateMaterial ( ) : FairyGUI.NMaterial

Dispose ( ) : void

GetInstance ( NTexture texture, string shaderName, string keywords ) : MaterialManager

GetMaterial ( NGraphics grahpics, UpdateContext context ) : FairyGUI.NMaterial

MaterialManager ( NTexture texture ) : System.Collections.Generic

Release ( ) : void

Method Details

CreateMaterial() public method

public CreateMaterial ( ) : FairyGUI.NMaterial
return FairyGUI.NMaterial

Dispose() public method

public Dispose ( ) : void
return void

GetInstance() public static method

public static GetInstance ( NTexture texture, string shaderName, string keywords ) : MaterialManager
texture NTexture
shaderName string
keywords string
return MaterialManager

GetMaterial() public method

public GetMaterial ( NGraphics grahpics, UpdateContext context ) : FairyGUI.NMaterial
grahpics NGraphics
context UpdateContext
return FairyGUI.NMaterial

MaterialManager() public method

public MaterialManager ( NTexture texture ) : System.Collections.Generic
texture NTexture
return System.Collections.Generic

Release() public method

public Release ( ) : void
return void