RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <classetsrepository.h>
Public Member Functions | |
CLAssetsRepository () | |
void | addScene (CLScene *scene) |
void | addImagesFromScene (CLScene *scene) |
void | addMaterialsFromScene (CLScene *scene) |
void | addEffectsFromScene (CLScene *scene) |
void | addGeometriesFromScene (CLScene *scene) |
void | addNodesFromScene (CLScene *scene) |
void | loadResources () |
![]() | |
CLScene (char *filename) | |
std::vector< std::string > | getNodeIdList () |
CLNode * | getNodeHavingId (const std::string &node_id) |
CLMaterial * | getMaterialHavingId (const std::string &material_id) |
CLMaterial * | getMaterialHavingName (const std::string &material_name) |
CLEffect * | getEffectHavingId (const std::string &effect_id) |
CLImageDetails * | getImageDetailsHavingId (const std::string &image_id) |
CLGeometry * | getGeometryObjHavingId (const std::string &geometry_obj_id) |
void | insertImagePair (const std::string &image_id, CLImageDetails *image_details) |
void | insertMaterialPair (const std::string &material_id, CLMaterial *material) |
void | insertEffectPair (const std::string &effect_id, CLEffect *effect) |
void | insertGeometryPair (const std::string &geometry_id, CLGeometry *geometry) |
void | insertNodesPair (const std::string &node_id, CLNode *node) |
bool | loadImage (TiXmlElement *image_node) |
bool | loadMaterial (TiXmlElement *material_node) |
bool | loadNode (TiXmlElement *node) |
bool | loadScene (TiXmlElement *scene_node) |
bool | loadEffect (TiXmlElement *effect_node) |
const ImagesMapType * | images () const |
const MaterialsMapType * | materials () const |
const EffectsMapType * | effects () const |
const GeometriesMapType * | geometries () const |
const NodesMapType * | nodes () const |
const CLImageDetails * | imageDetails () const |
bool | reloadMaterials () |
bool | reloadImages () |
bool | reloadNodes () |
bool | reloadEffects () |
bool | reloadGeometries () |
CLPhongChild * | getPhongChildFromNode (TiXmlElement *node) |
CLInstanceGeometry | getInstanceGeometryFromNode (TiXmlElement *instance_geometry_node) |
~CLScene (void) | |
![]() | |
CObject () | |
CObject (const CObject &object) | |
CObject & | operator= (const CObject &object) |
CObject * | retain () |
unsigned int | release () const |
CObject * | autorelease () |
unsigned int | retainCount () const |
bool | isValidCObject () const |
virtual | ~CObject () |
Additional Inherited Members | |
![]() | |
static void | safeRetain (void *pointer) |
template<class T > | |
static void | safeRelease (T *pointer) |
template<class T > | |
static void | safeReleaseArray (T *array) |
static void | safeRelease (const char *pointer) |
![]() | |
CLScene () | |
![]() | |
virtual void | copyValuesFromObject (const CObject &object) |
Definition at line 38 of file classetsrepository.h.
CLAssetsRepository::CLAssetsRepository | ( | ) |
Definition at line 35 of file classetsrepository.cpp.
void CLAssetsRepository::addEffectsFromScene | ( | CLScene * | scene | ) |
Definition at line 106 of file classetsrepository.cpp.
void CLAssetsRepository::addGeometriesFromScene | ( | CLScene * | scene | ) |
Definition at line 122 of file classetsrepository.cpp.
void CLAssetsRepository::addImagesFromScene | ( | CLScene * | scene | ) |
Definition at line 74 of file classetsrepository.cpp.
void CLAssetsRepository::addMaterialsFromScene | ( | CLScene * | scene | ) |
Definition at line 90 of file classetsrepository.cpp.
void CLAssetsRepository::addNodesFromScene | ( | CLScene * | scene | ) |
Definition at line 139 of file classetsrepository.cpp.
void CLAssetsRepository::addScene | ( | CLScene * | scene | ) |
Definition at line 64 of file classetsrepository.cpp.
void CLAssetsRepository::loadResources | ( | ) |
Definition at line 44 of file classetsrepository.cpp.