Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_node_types.h
| Show First 20 Lines • Show All 1,068 Lines • ▼ Show 20 Lines | typedef struct NodeCryptomatte { | ||||
| char _pad[4]; | char _pad[4]; | ||||
| } NodeCryptomatte; | } NodeCryptomatte; | ||||
| typedef struct NodeDenoise { | typedef struct NodeDenoise { | ||||
| char hdr; | char hdr; | ||||
| char _pad[7]; | char _pad[7]; | ||||
| } NodeDenoise; | } NodeDenoise; | ||||
| typedef struct NodeAttributeCompare { | |||||
| /* FloatCompareOperation. */ | |||||
| uint8_t operation; | |||||
| /* GeometryNodeAttributeInputMode */ | |||||
| uint8_t input_type_a; | |||||
| uint8_t input_type_b; | |||||
| char _pad[5]; | |||||
| } NodeAttributeCompare; | |||||
| typedef struct NodeAttributeMix { | typedef struct NodeAttributeMix { | ||||
| /* e.g. MA_RAMP_BLEND. */ | /* e.g. MA_RAMP_BLEND. */ | ||||
| uint8_t blend_type; | uint8_t blend_type; | ||||
| /* GeometryNodeAttributeInputMode */ | /* GeometryNodeAttributeInputMode */ | ||||
| uint8_t input_type_factor; | uint8_t input_type_factor; | ||||
| uint8_t input_type_a; | uint8_t input_type_a; | ||||
| uint8_t input_type_b; | uint8_t input_type_b; | ||||
| ▲ Show 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | |||||
| /* Boolean math node operations. */ | /* Boolean math node operations. */ | ||||
| enum { | enum { | ||||
| NODE_BOOLEAN_MATH_AND = 0, | NODE_BOOLEAN_MATH_AND = 0, | ||||
| NODE_BOOLEAN_MATH_OR = 1, | NODE_BOOLEAN_MATH_OR = 1, | ||||
| NODE_BOOLEAN_MATH_NOT = 2, | NODE_BOOLEAN_MATH_NOT = 2, | ||||
| }; | }; | ||||
| /* Float compare node operations. */ | /* Float compare node operations. */ | ||||
| enum { | typedef enum FloatCompareOperation { | ||||
| NODE_FLOAT_COMPARE_LESS_THAN = 0, | NODE_FLOAT_COMPARE_LESS_THAN = 0, | ||||
| NODE_FLOAT_COMPARE_LESS_EQUAL = 1, | NODE_FLOAT_COMPARE_LESS_EQUAL = 1, | ||||
| NODE_FLOAT_COMPARE_GREATER_THAN = 2, | NODE_FLOAT_COMPARE_GREATER_THAN = 2, | ||||
| NODE_FLOAT_COMPARE_GREATER_EQUAL = 3, | NODE_FLOAT_COMPARE_GREATER_EQUAL = 3, | ||||
| NODE_FLOAT_COMPARE_EQUAL = 4, | NODE_FLOAT_COMPARE_EQUAL = 4, | ||||
| NODE_FLOAT_COMPARE_NOT_EQUAL = 5, | NODE_FLOAT_COMPARE_NOT_EQUAL = 5, | ||||
| }; | } FloatCompareOperation; | ||||
| /* Clamp node types. */ | /* Clamp node types. */ | ||||
| enum { | enum { | ||||
| NODE_CLAMP_MINMAX = 0, | NODE_CLAMP_MINMAX = 0, | ||||
| NODE_CLAMP_RANGE = 1, | NODE_CLAMP_RANGE = 1, | ||||
| }; | }; | ||||
| /* Map range node types. */ | /* Map range node types. */ | ||||
| ▲ Show 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | typedef enum GeometryNodePointInstanceType { | ||||
| GEO_NODE_POINT_INSTANCE_TYPE_COLLECTION = 1, | GEO_NODE_POINT_INSTANCE_TYPE_COLLECTION = 1, | ||||
| } GeometryNodePointInstanceType; | } GeometryNodePointInstanceType; | ||||
| typedef enum GeometryNodeAttributeInputMode { | typedef enum GeometryNodeAttributeInputMode { | ||||
| GEO_NODE_ATTRIBUTE_INPUT_ATTRIBUTE = 0, | GEO_NODE_ATTRIBUTE_INPUT_ATTRIBUTE = 0, | ||||
| GEO_NODE_ATTRIBUTE_INPUT_FLOAT = 1, | GEO_NODE_ATTRIBUTE_INPUT_FLOAT = 1, | ||||
| GEO_NODE_ATTRIBUTE_INPUT_VECTOR = 2, | GEO_NODE_ATTRIBUTE_INPUT_VECTOR = 2, | ||||
| GEO_NODE_ATTRIBUTE_INPUT_COLOR = 3, | GEO_NODE_ATTRIBUTE_INPUT_COLOR = 3, | ||||
| GEO_NODE_ATTRIBUTE_INPUT_BOOLEAN = 4, | |||||
| } GeometryNodeAttributeInputMode; | } GeometryNodeAttributeInputMode; | ||||
| typedef enum GeometryNodePointDistributeMethod { | typedef enum GeometryNodePointDistributeMethod { | ||||
| GEO_NODE_POINT_DISTRIBUTE_RANDOM = 0, | GEO_NODE_POINT_DISTRIBUTE_RANDOM = 0, | ||||
| GEO_NODE_POINT_DISTRIBUTE_POISSON = 1, | GEO_NODE_POINT_DISTRIBUTE_POISSON = 1, | ||||
| } GeometryNodePointDistributeMethod; | } GeometryNodePointDistributeMethod; | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||