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
Show file Open project: Burton-Radons/Alexandria

Public Methods

Method Description
Bind ( ModelDrawContext context, ModelProgram program ) : void

Bind the material parameter to the program.

ToString ( ) : string

Convert to a readable string format.

Private Methods

Method Description
ModelMaterialParameter ( ModelMaterial material, int materialIndex, int index, AssetLoader loader ) : System

Method Details

Bind() public method

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

ToString() public method

Convert to a readable string format.
public ToString ( ) : string
return string