C# Class GUI.Types.Renderer.MaterialLoader

Mostra file Open project: SteamDatabase/ValveResourceFormat Class Usage Examples

Public Methods

Method Description
GetMaterial ( string name ) : Material
MaterialLoader ( string currentFileName, ValveResourceFormat.Package currentPackage ) : System

Private Methods

Method Description
GenerateSolidColorTexture ( float color ) : int
GetErrorTexture ( ) : int
LoadMaterial ( string name ) : Material
LoadTexture ( string name ) : int

Method Details

GetMaterial() public method

public GetMaterial ( string name ) : Material
name string
return Material

MaterialLoader() public method

public MaterialLoader ( string currentFileName, ValveResourceFormat.Package currentPackage ) : System
currentFileName string
currentPackage ValveResourceFormat.Package
return System