Tesla Graphics Engine Documentation (January 2012)
LoadFirstMaterial Method (resource, parameters)
TeslaTesla.Content.LoadersMaterialParserLoadFirstMaterial(IResource, LoaderParameters)
Parses a material file and loads the very first material found in the script file.
Declaration Syntax
C#
public Material LoadFirstMaterial(
	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)