diff options
author | Chris Want <cwant@ualberta.ca> | 2006-11-22 18:53:46 +0300 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2006-11-22 18:53:46 +0300 |
commit | 0b0c8c92441aeb0a21aec52de8689e8000495e0e (patch) | |
tree | cd8d830fee68535c88547c7ab0a1a34d3bde90e9 /source/blender/blenpluginapi/plugin.h | |
parent | bb7ad80269d76cba98a90c8bf95e2cc47f88820c (diff) |
=Texture Plugins=
Added a callback instance_init() so that any particular instance of a
texture plugin can initialize data. Updated the clouds2 and tile example
plugins to have a (dummy) call back.
Diffstat (limited to 'source/blender/blenpluginapi/plugin.h')
-rw-r--r-- | source/blender/blenpluginapi/plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenpluginapi/plugin.h b/source/blender/blenpluginapi/plugin.h index f7ffc7e7c8e..b9048b92878 100644 --- a/source/blender/blenpluginapi/plugin.h +++ b/source/blender/blenpluginapi/plugin.h @@ -62,6 +62,8 @@ typedef struct _PluginInfo { void (*callback)(int); TexDoit tex_doit; SeqDoit seq_doit; + + void (*instance_init)(void *); } PluginInfo; int plugin_tex_getversion(void); |