diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_duplilist.h')
-rw-r--r-- | source/blender/blenkernel/BKE_duplilist.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_duplilist.h b/source/blender/blenkernel/BKE_duplilist.h index cc362495a24..79f37d2edde 100644 --- a/source/blender/blenkernel/BKE_duplilist.h +++ b/source/blender/blenkernel/BKE_duplilist.h @@ -64,6 +64,14 @@ typedef struct DupliObject { unsigned int random_id; } DupliObject; +/** Look up the RGBA value of a uniform shader attribute. + * \return true if the attribute was found; if not, r_value is also set to zero. */ +bool BKE_object_dupli_find_rgba_attribute(struct Object *ob, + struct DupliObject *dupli, + struct Object *dupli_parent, + const char *name, + float r_value[4]); + #ifdef __cplusplus } #endif |