Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_node_types.h
| Show First 20 Lines • Show All 578 Lines • ▼ Show 20 Lines | |||||
| #define NTREE_TWO_PASS (1 << 2) /* two pass */ | #define NTREE_TWO_PASS (1 << 2) /* two pass */ | ||||
| #define NTREE_COM_GROUPNODE_BUFFER (1 << 3) /* use groupnode buffers */ | #define NTREE_COM_GROUPNODE_BUFFER (1 << 3) /* use groupnode buffers */ | ||||
| #define NTREE_VIEWER_BORDER (1 << 4) /* use a border for viewer nodes */ | #define NTREE_VIEWER_BORDER (1 << 4) /* use a border for viewer nodes */ | ||||
| /* NOTE: DEPRECATED, use (id->tag & LIB_TAG_LOCALIZED) instead. */ | /* NOTE: DEPRECATED, use (id->tag & LIB_TAG_LOCALIZED) instead. */ | ||||
| /* tree is localized copy, free when deleting node groups */ | /* tree is localized copy, free when deleting node groups */ | ||||
| /* #define NTREE_IS_LOCALIZED (1 << 5) */ | /* #define NTREE_IS_LOCALIZED (1 << 5) */ | ||||
| /* The node tree is added for versioning code, used to realize instances since it is no longer | |||||
| * done automatically. This is used to avoid adding the same versioning node tree twice in | |||||
| * versioning code, necessary because relying on a common name isn't possible. It can be removed | |||||
| * when loading 2.93 legacy node trees is no longer supported. */ | |||||
| #define NTREE_GEOMETRY_NODES_VERSIONING (1 << 6) | |||||
| /* ntree->update */ | /* ntree->update */ | ||||
| typedef enum eNodeTreeUpdate { | typedef enum eNodeTreeUpdate { | ||||
| NTREE_UPDATE = 0xFFFF, /* generic update flag (includes all others) */ | NTREE_UPDATE = 0xFFFF, /* generic update flag (includes all others) */ | ||||
| NTREE_UPDATE_LINKS = (1 << 0), /* links have been added or removed */ | NTREE_UPDATE_LINKS = (1 << 0), /* links have been added or removed */ | ||||
| NTREE_UPDATE_NODES = (1 << 1), /* nodes or sockets have been added or removed */ | NTREE_UPDATE_NODES = (1 << 1), /* nodes or sockets have been added or removed */ | ||||
| NTREE_UPDATE_GROUP_IN = (1 << 4), /* group inputs have changed */ | NTREE_UPDATE_GROUP_IN = (1 << 4), /* group inputs have changed */ | ||||
| NTREE_UPDATE_GROUP_OUT = (1 << 5), /* group outputs have changed */ | NTREE_UPDATE_GROUP_OUT = (1 << 5), /* group outputs have changed */ | ||||
| /* The field interface has changed. So e.g. an output that was always a field before is not | /* The field interface has changed. So e.g. an output that was always a field before is not | ||||
| ▲ Show 20 Lines • Show All 1,630 Lines • Show Last 20 Lines | |||||