C# Class Alexandria.Engines.DarkSouls.ModelMaterialParameter

A parameter to a ModelMaterial. So far this seems to be restricted to textures. Asset.Name holds the name of the parameter.
Inheritance: ModelAsset
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
Bind ( ModelDrawContext context, ModelProgram program ) : void

Bind the material parameter to the program.

ToString ( ) : string

Convert to a readable string format.

Private Methods

Méthode Description
ModelMaterialParameter ( ModelMaterial material, int materialIndex, int index, AssetLoader loader ) : System

Method Details

Bind() public méthode

Bind the material parameter to the program.
public Bind ( ModelDrawContext context, ModelProgram program ) : void
context ModelDrawContext
program ModelProgram
Résultat void

ToString() public méthode

Convert to a readable string format.
public ToString ( ) : string
Résultat string