typedef struct { MAV_window *win; MAV_object *obj; MAV_callbackDrawFn fn; MAV_drawInfo di; MAV_drawInfo *dip; MAV_matrix mat; } MAV_texturedObjData;
mav_texturedObjectsManage maintains a list of these data structures (which is reset at the start of each frame). mav_texturedObjectsRender is called at the end of the frame to traverse this list rendering the objects. Potentially this minimizes the context changes made by the graphics pipe thus increasing performance.
This use of this feature is controlled by the option variable mav_opt_delayTexture and is initially disabled.