#include <mgi/App.h>
void mgiAppInit( const u32 frame_latency,
const u32 gfx_length,
const u32 frame_resource_size,
const u32 instance_queue_size,
const u32 max_modules,
const u32 transform_buffer_size,
void *user_data )
#include <mgi/App.h> void mgiAppMainLoop( void )
#include <mgi/App.h> void mgiAppAddRenderJob( MgiJob *job_ptr )
Inserts a render job in front of a job which has already been added.
#include <mgi/App.h> void mgiAppInsertRenderJob( MgiJob *new_job_ptr, MgiJob *job_ptr )
#include <mgi/App.h> void mgiAppRemoveRenderJob( MgiJob *job_ptr )
#include <mgi/App.h> void mgiAppAddFrameJob( MgiJob *job_ptr )
Inserts a frame job in front of a job which has already been added.
#include <mgi/App.h> void mgiAppInsertFrameJob( MgiJob *new_job_ptr, MgiJob *job_ptr )
#include <mgi/App.h> void mgiAppRemoveFrameJob( MgiJob *job_ptr )
This is the actual application itself.
#include <mgi/App.h> MgiApp gMgiApp
Adds an MgiCharacter job as a render job.
#include <mgi/App.h> _mgiAppAddCharacter( char_ptr )
Returns a pointer to the scene hierarchy.
#include <mgi/App.h> _mgiAppGetHierarchy( )
Returns a pointer to the scene.
#include <mgi/App.h> _mgiAppGetScene( )
#include <mgi/App.h>
typedef struct _MgiApp
{
MgiJobList frame_job_list;
MgiJobList render_job_list;
MhcScene hierarchy;
MrnScene render_scene;
MrnScreen screen;
u32 gfx_length;
Gfx **gfx_array;
u32 current_gfx;
Gfx *current_gfx_ptr;
u32 is_perfbar_enable;
u32 render_microcode;
u32 frame_latency;
u32 frame_count;
u32 frame_rate;
int number_of_controllers;
u16 *last_button;
struct st_ContData *cont_data;
void *user_data;
} MgiApp;