pico file format module structure More...
#include <picomodel.h>
Data Fields | |
const char * | version |
const char * | displayName |
const char * | authorName |
const char * | copyright |
const char * | defaultExts [PICO_MAX_DEFAULT_EXTS] |
int(* | canload )(PM_PARAMS_CANLOAD) |
picoModel_t *(* | load )(PM_PARAMS_LOAD) |
int(* | cansave )(PM_PARAMS_CANSAVE) |
int(* | save )(PM_PARAMS_SAVE) |
pico file format module structure
Definition at line 174 of file picomodel.h.
const char* picoModule_s::authorName |
author name (eg. 'My Real Name')
Definition at line 179 of file picomodel.h.
int(* picoModule_s::canload)(PM_PARAMS_CANLOAD) |
checks whether module can load given file (returns PMVR_*)
Referenced by PicoLoadModel(), and PicoModuleLoadModel().
int(* picoModule_s::cansave)(PM_PARAMS_CANSAVE) |
checks whether module can save (returns 1 or 0 and might spit out a message)
const char* picoModule_s::copyright |
copyright year and holder (eg. '2002 My Company')
Definition at line 180 of file picomodel.h.
const char* picoModule_s::defaultExts[PICO_MAX_DEFAULT_EXTS] |
default file extensions used by this file type
Definition at line 182 of file picomodel.h.
const char* picoModule_s::displayName |
string used to display in guis, etc.
Definition at line 178 of file picomodel.h.
picoModel_t*(* picoModule_s::load)(PM_PARAMS_LOAD) |
parses model file data
Referenced by PicoLoadModel(), and PicoModuleLoadModel().
int(* picoModule_s::save)(PM_PARAMS_SAVE) |
saves a pico model in module's native model format
const char* picoModule_s::version |
internal module version (e.g. '1.5-b2')
Definition at line 176 of file picomodel.h.