summaryrefslogtreecommitdiff
path: root/include/blender/color.h
diff options
context:
space:
mode:
authorpacien2017-11-28 19:01:51 +0100
committerpacien2017-11-28 19:01:51 +0100
commit987835afe8fc5d46cb3a6359ec80c9f035e72801 (patch)
treee93ddebbfc15900f9307df446e420c086f8a2ebd /include/blender/color.h
parentac60669cd3a93312f0ff186055e61a5e3fb5fcdd (diff)
downloadmorpher-987835afe8fc5d46cb3a6359ec80c9f035e72801.tar.gz
Add module spec headers
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/blender/color.h')
-rw-r--r--include/blender/color.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/blender/color.h b/include/blender/color.h
new file mode 100644
index 0000000..cdf488a
--- /dev/null
+++ b/include/blender/color.h
@@ -0,0 +1,27 @@
1#ifndef UPEM_MORPHING_COLOR
2#define UPEM_MORPHING_COLOR
3
4/**
5 * File: color.h
6 *
7 * See also:
8 * A rainbow
9 */
10
11/**
12 * Type: ColorComponent
13 * Represents a single colour component of 32-bits RGBa tuple.
14 */
15typedef uint8_t ColorComponent;
16
17/**
18 * Type: ColorPixel
19 * Represents a single RGBa coloured pixel.
20 * Compatible with the libMLV representation.
21 */
22typedef union {
23 ColorComponent r, g, b, a;
24 MLV_Color mlv;
25} Color;
26
27#endif