diff options
author | Dorian <BD3D> | 2021-10-22 15:59:15 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-10-22 16:01:28 +0300 |
commit | 781289e31fbec004584b3789c801d1db012dfaa4 (patch) | |
tree | 9594fb70a46472f202b36e75a662970714f1ed00 /source/blender/makesdna | |
parent | 01e2a532f55ee2de3bfd1c0d97d063976546a036 (diff) |
Geometry Nodes: add Boolean and Integer Input nodes
These nodes just output a single value of their respective types,
making it possible to control multiple inputs with the same value.
Differential Revision: https://developer.blender.org/D12932
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 12b81433ffd..b585cbd6306 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -1291,6 +1291,14 @@ typedef struct NodeAttributeCurveMap { CurveMapping *curve_rgb; } NodeAttributeCurveMap; +typedef struct NodeInputBool { + uint8_t boolean; +} NodeInputBool; + +typedef struct NodeInputInt { + int integer; +} NodeInputInt; + typedef struct NodeInputVector { float vector[3]; } NodeInputVector; |