Mercurial > hg > dmlib
changeset 1688:51ce7edd5054
Add few comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 01 Jun 2018 02:27:07 +0300 |
parents | 383ca5f6e78b |
children | ef644e3f891f |
files | src/dmengine.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmengine.h Fri Jun 01 02:21:24 2018 +0300 +++ b/src/dmengine.h Fri Jun 01 02:27:07 2018 +0300 @@ -122,8 +122,13 @@ char * name; int type; + // init() - called at demo start/loading phase int (*init)(struct DMEngineData *, const struct _DMEffect *eff, void **data); + + // shutdown() - called at demo shutdown void (*shutdown)(struct DMEngineData *, const struct _DMEffect *eff, void *data); + + // called to render a frame int (*render)(struct DMEngineData *, const struct _DMEffect *eff, void *data, const DMTimelineEventParam *params, const int time); int nparams;