maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
RETROGLU_PARSER Struct Reference

As retroglu_parse_obj_c() parses OBJ data, it populates this struct with object information. More...

#include <retroglu.h>

Collaboration diagram for RETROGLU_PARSER:

Data Fields

struct RETROGLU_OBJobj
 
int state
 
int material_idx
 
char token [RETROGLU_PARSER_TOKEN_SZ_MAX]
 
size_t token_sz
 
retroglu_mtl_cb load_mtl
 
void * load_mtl_data
 

Related Symbols

(Note that these are not member symbols.)

void retroglu_parse_init (struct RETROGLU_PARSER *parser, struct RETROGLU_OBJ *obj, retroglu_mtl_cb load_mtl, void *load_mtl_data)
 Initialize a RETROGLU_PARSER.
 
MERROR_RETVAL retroglu_parse_obj_c (struct RETROGLU_PARSER *parser, unsigned char c)
 Parse OBJ data into a parser, one character at a time.
 

Detailed Description

As retroglu_parse_obj_c() parses OBJ data, it populates this struct with object information.


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