C# Class FairyGUI.MaterialManager

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

Méthodes publiques

Méthode 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 méthode

public CreateMaterial ( ) : FairyGUI.NMaterial
Résultat FairyGUI.NMaterial

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetInstance() public static méthode

public static GetInstance ( NTexture texture, string shaderName, string keywords ) : MaterialManager
texture NTexture
shaderName string
keywords string
Résultat MaterialManager

GetMaterial() public méthode

public GetMaterial ( NGraphics grahpics, UpdateContext context ) : FairyGUI.NMaterial
grahpics NGraphics
context UpdateContext
Résultat FairyGUI.NMaterial

MaterialManager() public méthode

public MaterialManager ( NTexture texture ) : System.Collections.Generic
texture NTexture
Résultat System.Collections.Generic

Release() public méthode

public Release ( ) : void
Résultat void