Initializes Scene
#include <mhc/Scene.h> void mhcSceneInit( MhcScene *scene_ptr, const u32 max_modules, const u32 max_instances, const u32 transform_buffer_size )
Destroys Scene
#include <mhc/Scene.h> void mhcSceneDestroy( MhcScene *scene_ptr )
Returns pointer to Node
#include <mhc/Scene.h> MhcNode *mhcSceneGetNode( MhcScene *scene_ptr, const u32 module_id, const char *node_name )
Evaluates Scene and generates rendering object.
#include <mhc/Scene.h> int mhcSceneEvaluate( MhcScene *scene_ptr, MrnScene *mrn_scene_ptr )
Evaluates Scene and generates rendering object.
#include <mhc/Scene.h> int mhcSceneEvaluateFlat( MhcScene *scene_ptr, MrnScene *mrn_scene_ptr )
Generates an instance
#include <mhc/Scene.h> MhcInstance *mhcSceneCreateInstance( MhcScene *scene_ptr )
Evaluates an instance and adds it to the list.
#include <mhc/Scene.h> void mhcScenePutInstance( MhcScene *scene_ptr, MhcInstance *instance_ptr )
Binds all Scene with module.
#include <mhc/Scene.h> void mhcSceneBind( MhcScene *scene_ptr )
Allocates dynamic buffer needed for coordinate conversion.
#include <mhc/Scene.h> float *mhcSceneAllocTransformBuffer( MhcScene *scene_ptr, const u32 size )
Returns pointer to Module.
#include <mhc/Scene.h> _mhcSceneGetModule(scene_ptr,id)
Allocates MvmVector3f to the buffer for coordinate conversion.
#include <mhc/Scene.h> _mhcSceneAllocVector3f(scene_ptr)
Allocates MvbMatrix33f to the buffer for coordinate conversion.
#include <mhc/Scene.h> _mhcSceneAllocMatrix33f(scene_ptr)
#include <mhc/Scene.h> typedef struct _MhcScene { u32 max_modules; MhcModule *module_array; u32 max_instances; struct _MhcInstance *instance_array; float *transform_buffer; float *transform_ptr; MhcModuleNode *root_node_array; MhcNode *camera_node_ptr_array[ MHC_SCENE_MAX_GROUPS ]; MhcNodeList wait_node_list; MhcInstanceList free_instance_list; MhcInstanceList ready_instance_list; struct _MrnScene *mrn_scene_ptr; u32 icon_visibility; } MhcScene;