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

#include <tiny_obj_loader.h>

Public Member Functions

 callback_t ()
 

Public Attributes

void(* vertex_cb )(void *user_data, real_t x, real_t y, real_t z, real_t w)
 
void(* vertex_color_cb )(void *user_data, real_t x, real_t y, real_t z, real_t r, real_t g, real_t b, bool has_color)
 
void(* normal_cb )(void *user_data, real_t x, real_t y, real_t z)
 
void(* texcoord_cb )(void *user_data, real_t x, real_t y, real_t z)
 
void(* index_cb )(void *user_data, index_t *indices, int num_indices)
 
void(* usemtl_cb )(void *user_data, const char *name, int material_id)
 
void(* mtllib_cb )(void *user_data, const material_t *materials, int num_materials)
 
void(* group_cb )(void *user_data, const char **names, int num_names)
 
void(* object_cb )(void *user_data, const char *name)
 

Constructor & Destructor Documentation

◆ callback_t()

tinyobj::callback_t::callback_t ( )
inline

Member Data Documentation

◆ group_cb

void(* tinyobj::callback_t::group_cb) (void *user_data, const char **names, int num_names)

◆ index_cb

void(* tinyobj::callback_t::index_cb) (void *user_data, index_t *indices, int num_indices)

◆ mtllib_cb

void(* tinyobj::callback_t::mtllib_cb) (void *user_data, const material_t *materials, int num_materials)

◆ normal_cb

void(* tinyobj::callback_t::normal_cb) (void *user_data, real_t x, real_t y, real_t z)

◆ object_cb

void(* tinyobj::callback_t::object_cb) (void *user_data, const char *name)

◆ texcoord_cb

void(* tinyobj::callback_t::texcoord_cb) (void *user_data, real_t x, real_t y, real_t z)

◆ usemtl_cb

void(* tinyobj::callback_t::usemtl_cb) (void *user_data, const char *name, int material_id)

◆ vertex_cb

void(* tinyobj::callback_t::vertex_cb) (void *user_data, real_t x, real_t y, real_t z, real_t w)

◆ vertex_color_cb

void(* tinyobj::callback_t::vertex_color_cb) (void *user_data, real_t x, real_t y, real_t z, real_t r, real_t g, real_t b, bool has_color)

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