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:
authorTon Roosendaal <ton@blender.org>2005-11-19 21:24:32 +0300
committerTon Roosendaal <ton@blender.org>2005-11-19 21:24:32 +0300
commitf439f3a517e2928f46ce1db809e34c4f7b065569 (patch)
tree3809483fcafb379933105d5b44117ef475bb4b2d /source/blender/blenpluginapi
parentdfb200d405893288788d03494895869ac7df47e1 (diff)
Code cleanup: using defines in texture.c for whether a function returns
intensity, color and/or normal. Patch provided by Guillermo, thanks!
Diffstat (limited to 'source/blender/blenpluginapi')
-rw-r--r--source/blender/blenpluginapi/plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenpluginapi/plugin.h b/source/blender/blenpluginapi/plugin.h
index aa8b5097604..9d353cc611a 100644
--- a/source/blender/blenpluginapi/plugin.h
+++ b/source/blender/blenpluginapi/plugin.h
@@ -79,6 +79,10 @@ void plugin_getinfo(PluginInfo *);
#define NUMSLI (14<<9)
#define COL (15<<9)
+/* return values (bitfield like) for textures (DNA_texture_types.h) */
+#define TEX_INT 0
+#define TEX_RGB 1
+#define TEX_NOR 2
/* *************** API functions ******************** */