diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-18 23:30:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-18 23:30:38 -0500 |
commit | 5038d1f96af332e474a1e0a076bf5dead6855727 (patch) | |
tree | 128921e3bbdc29046695ac4d9c9fb8d7535bc49a /libdimension/dimension | |
parent | c576229cc54c0fb963967751281e6a42fc9230ea (diff) | |
download | dimension-5038d1f96af332e474a1e0a076bf5dead6855727.tar.xz |
Translucency support.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/color.h | 1 | ||||
-rw-r--r-- | libdimension/dimension/scene.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h index ad50334..10fa1a7 100644 --- a/libdimension/dimension/color.h +++ b/libdimension/dimension/color.h @@ -90,6 +90,7 @@ dmnsn_sRGB dmnsn_sRGB_from_color(dmnsn_color color); /* Perceptual color manipulation */ dmnsn_color dmnsn_color_add(dmnsn_color color1, dmnsn_color color2); dmnsn_color dmnsn_color_mul(double n, dmnsn_color color); +dmnsn_color dmnsn_color_filter(dmnsn_color color, dmnsn_color filter); dmnsn_color dmnsn_color_illuminate(dmnsn_color light, dmnsn_color color); double dmnsn_color_difference(dmnsn_color color1, dmnsn_color color2); diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index 8108b2b..25e52fe 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -31,6 +31,7 @@ typedef enum { DMNSN_RENDER_PIGMENT, DMNSN_RENDER_LIGHTS, DMNSN_RENDER_FINISH, + DMNSN_RENDER_TRANSLUCENCY, DMNSN_RENDER_FULL } dmnsn_quality; |