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/makesdna/DNA_texture_types.h
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/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index b93276624d5..01de2196f8c 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -89,6 +89,7 @@ typedef struct PluginTex {
float data[32];
int (*doit)(void);
+ void (*instance_init)(void *);
/* should be void (*)(unsigned short)... patched */
void (*callback)(dna_ushort_fix);