Table of Contents

Class MtlParser

Namespace
NeoVeldrid.Utilities
Assembly
NeoVeldrid.Utilities.dll

A parser for Wavefront MTL files.

public class MtlParser
Inheritance
MtlParser
Inherited Members

Methods

Parse(Stream)

Parses a MtlFile from the given stream

public MtlFile Parse(Stream s)

Parameters

s Stream

The stream to parse from.

Returns

MtlFile

A new MtlFile.

Parse(string[])

Parses a MtlFile from the given array of text lines.

public MtlFile Parse(string[] lines)

Parameters

lines string[]

The raw text lines of the MTL file.

Returns

MtlFile

A new MtlFile.