Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2006-11-22 18:53:46 +0300
committerChris Want <cwant@ualberta.ca>2006-11-22 18:53:46 +0300
commit0b0c8c92441aeb0a21aec52de8689e8000495e0e (patch)
treecd8d830fee68535c88547c7ab0a1a34d3bde90e9 /source/blender/blenpluginapi
parentbb7ad80269d76cba98a90c8bf95e2cc47f88820c (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')
-rw-r--r--source/blender/blenpluginapi/plugin.h2
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);