[ Maverik Level 3 functions ]
mav_transparentObjectsRender
mav_transparentObjectsRender, mav_objectIsTransparent, mav_transparentObjectsManage
Summary
Render transparent objects correctly.
Syntax
void mav_transparentObjectsRender(void *ignored);
int mav_objectIsTransparent(MAV_window *w, MAV_object *o);
void mav_transparentObjectsManage(MAV_window *w, MAV_object *o, MAV_drawInfo *di);
- MAV_window *w
Window.
- MAV_object *o
Object.
- MAV_drawInfo *di
Draw info.
Description
These functions ensure that transparent objects are drawn correctly.
- mav_transparentObjectsRender
renders all transparent objects.
- mav_objectIsTransparent
returns
MAV_TRUE if object o in window w is transparent, otherwise MAV_FALSE.
- mav_transparentObjectsManage
This function is called when the draw callback is executed for a
transparent object o. This allows for special treatment, specifically to
delay rendering until after all other objects have been drawn, and are
depth sorted. These measures are necessary for transparent objects to be
displayed correctly.
Back to the index page.