picoModule_s Struct Reference

pico file format module structure More...

#include <picomodel.h>

Collaboration diagram for picoModule_s:
Collaboration graph
[legend]

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)

Detailed Description

pico file format module structure

Definition at line 174 of file picomodel.h.


Field Documentation

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)

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.

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.


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

Generated by  doxygen 1.6.2