diff options
author | Jacques Lucke <jacques@blender.org> | 2020-12-03 18:25:48 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-03 18:25:48 +0300 |
commit | 107231eb956a953c89a2ab134371988ebe338c59 (patch) | |
tree | b8e46bf488b089766e5f2e41dd9affd096efd38c /source/blender/nodes/NOD_geometry_exec.hh | |
parent | 2c181521ec0c4e0fca579fb512801410570800fb (diff) |
Geometry Nodes: improve support for Color attributes
* Add typed attribute accessors for color attributes.
* Support implicit conversions between colors and floats.
Diffstat (limited to 'source/blender/nodes/NOD_geometry_exec.hh')
-rw-r--r-- | source/blender/nodes/NOD_geometry_exec.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh index 2b95f76d06b..fde576d7429 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -26,6 +26,8 @@ namespace blender::nodes { +using bke::Color4fReadAttribute; +using bke::Color4fWriteAttribute; using bke::Float3ReadAttribute; using bke::Float3WriteAttribute; using bke::FloatReadAttribute; |