Tesla Graphics Engine Documentation (January 2012)
LoadMaterial Method (resource, parameters)
TeslaTesla.Content.LoadersMaterialParserLoadMaterial(IResource, LoaderParameters)
Parses a material file and loads the first material found in the script file that has the same matching name as in the loader parameter. If a valid material loader parameter object has not been passed, then this defaults to loading the first material in the script.
Declaration Syntax
C#
public Material LoadMaterial(
	IResource resource,
	LoaderParameters parameters
)
Parameters
resource (IResource)
Resource pointing to the material script.
parameters (LoaderParameters)
Loader parameters
Return Value
A material

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)