Claire's Game Engine
Full C++ Engine using OpenGL
Loading...
Searching...
No Matches
tinyobj::MaterialFileReader Class Reference

#include <tiny_obj_loader.h>

Inheritance diagram for tinyobj::MaterialFileReader:
tinyobj::MaterialReader

Public Member Functions

 MaterialFileReader (const std::string &mtl_basedir)
 
virtual ~MaterialFileReader () TINYOBJ_OVERRIDE
 
virtual bool operator() (const std::string &matId, std::vector< material_t > *materials, std::map< std::string, int > *matMap, std::string *warn, std::string *err) TINYOBJ_OVERRIDE
 
- Public Member Functions inherited from tinyobj::MaterialReader
 MaterialReader ()
 
virtual ~MaterialReader ()
 

Detailed Description

Read .mtl from a file.

Constructor & Destructor Documentation

◆ MaterialFileReader()

tinyobj::MaterialFileReader::MaterialFileReader ( const std::string & mtl_basedir)
inlineexplicit

◆ ~MaterialFileReader()

virtual tinyobj::MaterialFileReader::~MaterialFileReader ( )
inlinevirtual

Member Function Documentation

◆ operator()()

virtual bool tinyobj::MaterialFileReader::operator() ( const std::string & matId,
std::vector< material_t > * materials,
std::map< std::string, int > * matMap,
std::string * warn,
std::string * err )
virtual

The documentation for this class was generated from the following file: