diff options
author | Jacques Lucke <jacques@blender.org> | 2022-01-02 16:27:16 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-01-02 16:27:16 +0300 |
commit | 8be217ada5754b065723dc85c250cf2b60f14e2e (patch) | |
tree | 02e1c18407d37f05b11181c99df5a3830503ffad /source/blender/nodes/shader/CMakeLists.txt | |
parent | 4c46203cb52ed37694709cc42aa6ca76ed24fe7a (diff) |
Geometry Nodes: add field node type for constants
It is common to have fields that contain a constant value. Before this
commit, such constants were represented by operation nodes which
don't have inputs. Having a special node type for constants makes
working with them a bit cheaper.
It also allows skipping some unnecessary processing when evaluating
fields, because constant fields can be detected more easily.
This commit also generalizes the concept of field node types a bit.
Diffstat (limited to 'source/blender/nodes/shader/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions