Tesla Graphics Engine Documentation (January 2012)
LoadAllMaterials Method (resource, parameters)
TeslaTesla.Content.LoadersMaterialParserLoadAllMaterials(IResource, LoaderParameters)
Parses a material file and loads all materials (in the order they appear in the file) as a material collection. Materials need not to have unique names but should be separated from each other at least by a whitespace or new line.
Declaration Syntax
C#
public MaterialCollection LoadAllMaterials(
	IResource resource,
	LoaderParameters parameters
)
Parameters
resource (IResource)
Resource pointing to the material script.
parameters (LoaderParameters)
Loader parameters
Return Value
A collection of materials

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