HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tiny_obj_loader.h File Reference
#include <map>
#include <string>
#include <vector>
+ Include dependency graph for tiny_obj_loader.h:

Go to the source code of this file.

Classes

struct  tinyobj::texture_option_t
 
struct  tinyobj::material_t
 
struct  tinyobj::tag_t
 
struct  tinyobj::index_t
 
struct  tinyobj::mesh_t
 
struct  tinyobj::path_t
 
struct  tinyobj::shape_t
 
struct  tinyobj::attrib_t
 
struct  tinyobj::callback_t_
 
class  tinyobj::MaterialReader
 
class  tinyobj::MaterialFileReader
 
class  tinyobj::MaterialStreamReader
 

Namespaces

 tinyobj
 

Typedefs

typedef float tinyobj::real_t
 
typedef struct tinyobj::callback_t_ tinyobj::callback_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)
 
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)
 
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)
 
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, const bool is_bump)