Tachyon (current)  Current Main Branch
Data Structures | Namespaces | Macros | Typedefs | Enumerations | Functions
tiny_obj_loader.h File Reference
#include <map>
#include <string>
#include <vector>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <limits>
#include <set>
#include <sstream>
#include <utility>

Go to the source code of this file.

Data Structures

struct  tinyobj::texture_option_t
 
struct  tinyobj::material_t
 
struct  tinyobj::tag_t
 
struct  tinyobj::joint_and_weight_t
 
struct  tinyobj::skin_weight_t
 
struct  tinyobj::index_t
 
struct  tinyobj::mesh_t
 
struct  tinyobj::lines_t
 
struct  tinyobj::points_t
 
struct  tinyobj::shape_t
 
struct  tinyobj::attrib_t
 
struct  tinyobj::callback_t
 
class  tinyobj::MaterialReader
 
class  tinyobj::MaterialFileReader
 Read .mtl from a file. More...
 
class  tinyobj::MaterialStreamReader
 Read .mtl from a stream. More...
 
struct  tinyobj::ObjReaderConfig
 
class  tinyobj::ObjReader
 Wavefront .obj reader class(v2 API) More...
 

Namespaces

 tinyobj
 

Macros

#define TINYOBJ_OVERRIDE
 

Typedefs

typedef float tinyobj::real_t
 

Enumerations

enum  tinyobj::texture_type_t {
  tinyobj::TEXTURE_TYPE_NONE, tinyobj::TEXTURE_TYPE_SPHERE, tinyobj::TEXTURE_TYPE_CUBE_TOP, tinyobj::TEXTURE_TYPE_CUBE_BOTTOM,
  tinyobj::TEXTURE_TYPE_CUBE_FRONT, tinyobj::TEXTURE_TYPE_CUBE_BACK, tinyobj::TEXTURE_TYPE_CUBE_LEFT, tinyobj::TEXTURE_TYPE_CUBE_RIGHT
}
 

Functions

bool tinyobj::LoadObj (attrib_t *attrib, std::vector< shape_t > *shapes, std::vector< material_t > *materials, std::string *warn, std::string *err, const char *filename, const char *mtl_basedir=NULL, bool triangulate=true, bool default_vcols_fallback=true)
 ==>>========= Legacy v1 API ============================================= More...
 
bool tinyobj::LoadObjWithCallback (std::istream &inStream, const callback_t &callback, void *user_data=NULL, MaterialReader *readMatFn=NULL, std::string *warn=NULL, std::string *err=NULL)
 Loads .obj from a file with custom user callback. More...
 
bool tinyobj::LoadObj (attrib_t *attrib, std::vector< shape_t > *shapes, std::vector< material_t > *materials, std::string *warn, std::string *err, std::istream *inStream, MaterialReader *readMatFn=NULL, bool triangulate=true, bool default_vcols_fallback=true)
 Loads object from a std::istream, uses readMatFn to retrieve std::istream for materials. More...
 
void tinyobj::LoadMtl (std::map< std::string, int > *material_map, std::vector< material_t > *materials, std::istream *inStream, std::string *warning, std::string *err)
 Loads materials into std::map. More...
 
bool tinyobj::ParseTextureNameAndOption (std::string *texname, texture_option_t *texopt, const char *linebuf)
 Parse texture name and texture option for custom texture parameter through material::unknown_parameter. More...
 

Macro Definition Documentation

◆ TINYOBJ_OVERRIDE

#define TINYOBJ_OVERRIDE

Definition at line 73 of file tiny_obj_loader.h.