0.3.1
Initialization & Configuration

Files

file  mic3d.h
 

Macros

#define CONFIG_MIC3D_CMDT_COUNT   2048
 Maximum number of command tables per frame.
 
#define CONFIG_MIC3D_POINTS_COUNT   (CONFIG_MIC3D_CMDT_COUNT / 4)
 Maximum number of points per render call.
 

Functions

void mic3d_init (workarea_mic3d_t *workarea)
 Initialize Mic3D.
 

Detailed Description

Macro Definition Documentation

◆ CONFIG_MIC3D_CMDT_COUNT

#define CONFIG_MIC3D_CMDT_COUNT   2048

Maximum number of command tables per frame.

This value can be changed by setting it in your project.

◆ CONFIG_MIC3D_POINTS_COUNT

#define CONFIG_MIC3D_POINTS_COUNT   (CONFIG_MIC3D_CMDT_COUNT / 4)

Maximum number of points per render call.

This value can be changed by setting it in your project.

Function Documentation

◆ mic3d_init()

void mic3d_init ( workarea_mic3d_t workarea)

Initialize Mic3D.

Not yet documented. Not idempotent.

Below is an example of how to initialize Mic3D:

static workarea_mic3d_depth_values_t _pool_depth_values;
static workarea_mic3d_z_values_t _pool_z_values;
static workarea_mic3d_screen_points_t _pool_screen_points;
static workarea_mic3d_sort_singles_t _pool_sort_singles;
static workarea_mic3d_cmdts_t _pool_cmdts;
static workarea_mic3d_render_matrices_t _pool_render_matrices;
static workarea_mic3d_light_matrices_t _pool_light_matrices;
static workarea_mic3d_colors_t _pool_colors;
static workarea_mic3d_work_t _pool_work;
static const workarea_mic3d_t _workarea = {
&_pool_depth_values,
&_pool_z_values,
&_pool_screen_points,
&_pool_sort_singles,
&_pool_cmdts,
&_pool_render_matrices,
&_pool_light_matrices,
&_pool_colors,
&_pool_work
};
// ...
mic3d_init(&_workarea);
// ...
void mic3d_init(workarea_mic3d_t *workarea)
Initialize Mic3D.
Work area defined, needed for library.
Definition: workarea.h:118
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
Not yet documented.
Parameters
workarea