[ Maverik Level 1 functions ]

#

mav_frameFn0Add

mav_frameFn0Add, mav_frameFn1Add, mav_frameFn2Add, mav_frameFn3Add, mav_frameFn4Add, mav_frameFn0Rmv, mav_frameFn1Rmv, mav_frameFn2Rmv, mav_frameFn3Rmv, mav_frameFn4Rmv

## Summary

Add/remove a function to be called during the render of a frame.

## Syntax

void mav_frameFn0Add(MAV_frameFn fn, void *d);

void mav_frameFn1Add(MAV_frameFn fn, void *d);

void mav_frameFn2Add(MAV_frameFn fn, void *d);

void mav_frameFn3Add(MAV_frameFn fn, void *d);

void mav_frameFn4Add(MAV_frameFn fn, void *d);

void mav_frameFn0Rmv(MAV_frameFn fn, void *d);

void mav_frameFn1Rmv(MAV_frameFn fn, void *d);

void mav_frameFn2Rmv(MAV_frameFn fn, void *d);

void mav_frameFn3Rmv(MAV_frameFn fn, void *d);

void mav_frameFn4Rmv(MAV_frameFn fn, void *d);

- MAV_frameFn fn
  Function to be registered/removed.

## Description

mav_frameFnNAdd registers the application-defined function `fn` to be executed at a particular stage of the rendering loop. The various stages of the rendering loop are described in mav_frameBegin and mav_frameEnd. The `d` parameter is untouched by Maverik - it forms the parameter to the application-defined frame function thus allowing argumnets to be passed into the function.

mav_frameFnNRmv remove a previously registered function `fn`.

## See also

mav_frameBegin.

Back to the index page.