Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDorian <BD3D>2021-10-22 15:59:15 +0300
committerJacques Lucke <jacques@blender.org>2021-10-22 16:01:28 +0300
commit781289e31fbec004584b3789c801d1db012dfaa4 (patch)
tree9594fb70a46472f202b36e75a662970714f1ed00 /source/blender/makesdna
parent01e2a532f55ee2de3bfd1c0d97d063976546a036 (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.h8
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;