Class MtlFile
- Namespace
- NeoVeldrid.Utilities
- Assembly
- NeoVeldrid.Utilities.dll
Represents a parsed MTL definition file.
public class MtlFile
- Inheritance
-
MtlFile
- Inherited Members
Constructors
MtlFile(IEnumerable<MaterialDefinition>)
Constructs a new MtlFile from pre-parsed material definitions.
public MtlFile(IEnumerable<MaterialDefinition> definitions)
Parameters
definitionsIEnumerable<MaterialDefinition>A collection of material definitions.
Properties
Definitions
Gets a mapping of all MaterialDefinitions contained in this MtlFile.
public IReadOnlyDictionary<string, MaterialDefinition> Definitions { get; }