Tachyon (current)  Current Main Branch
Public Member Functions | Data Fields
tinyobj::ObjReaderConfig Struct Reference

#include <tiny_obj_loader.h>

Public Member Functions

 ObjReaderConfig ()
 

Data Fields

bool triangulate
 
std::string triangulation_method
 
bool vertex_color
 Parse vertex color. More...
 
std::string mtl_search_path
 Search path to .mtl file. More...
 

Detailed Description

Definition at line 503 of file tiny_obj_loader.h.

Constructor & Destructor Documentation

◆ ObjReaderConfig()

tinyobj::ObjReaderConfig::ObjReaderConfig ( )
inline

Definition at line 524 of file tiny_obj_loader.h.

Field Documentation

◆ mtl_search_path

std::string tinyobj::ObjReaderConfig::mtl_search_path

Search path to .mtl file.

Default = "" = search from the same directory of .obj file. Valid only when loading .obj from a file.

Definition at line 522 of file tiny_obj_loader.h.

Referenced by main().

◆ triangulate

bool tinyobj::ObjReaderConfig::triangulate

Definition at line 504 of file tiny_obj_loader.h.

◆ triangulation_method

std::string tinyobj::ObjReaderConfig::triangulation_method

Definition at line 509 of file tiny_obj_loader.h.

◆ vertex_color

bool tinyobj::ObjReaderConfig::vertex_color

Parse vertex color.

If vertex color is not present, its filled with default value. false = no vertex color This will increase memory of parsed .obj

Definition at line 515 of file tiny_obj_loader.h.


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