Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_node.h
| Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| typedef struct bNodeSocketTemplate { | typedef struct bNodeSocketTemplate { | ||||
| int type, limit; | int type, limit; | ||||
| char name[64]; /* MAX_NAME */ | char name[64]; /* MAX_NAME */ | ||||
| float val1, val2, val3, val4; /* default alloc value for inputs */ | float val1, val2, val3, val4; /* default alloc value for inputs */ | ||||
| float min, max; | float min, max; | ||||
| int subtype; /* would use PropertySubType but this is a bad level include to use RNA */ | int subtype; /* would use PropertySubType but this is a bad level include to use RNA */ | ||||
| int flag; | int flag; | ||||
| /* optional: allowed inputs for internal links */ | |||||
| const bool *internal_links; | |||||
| /* after this line is used internal only */ | /* after this line is used internal only */ | ||||
| struct bNodeSocket *sock; /* used to hold verified socket */ | struct bNodeSocket *sock; /* used to hold verified socket */ | ||||
| char identifier[64]; /* generated from name */ | char identifier[64]; /* generated from name */ | ||||
| } bNodeSocketTemplate; | } bNodeSocketTemplate; | ||||
| /** Defines a socket type. | /** Defines a socket type. | ||||
| * Defines the appearance and behavior of a socket in the UI. | * Defines the appearance and behavior of a socket in the UI. | ||||
| ▲ Show 20 Lines • Show All 891 Lines • Show Last 20 Lines | |||||