Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_node.h
| Show First 20 Lines • Show All 474 Lines • ▼ Show 20 Lines | |||||
| void ntreeFreeLocalNode(struct bNodeTree *ntree, struct bNode *node); | void ntreeFreeLocalNode(struct bNodeTree *ntree, struct bNode *node); | ||||
| void ntreeFreeLocalTree(struct bNodeTree *ntree); | void ntreeFreeLocalTree(struct bNodeTree *ntree); | ||||
| struct bNode *ntreeFindType(const struct bNodeTree *ntree, int type); | struct bNode *ntreeFindType(const struct bNodeTree *ntree, int type); | ||||
| bool ntreeHasType(const struct bNodeTree *ntree, int type); | bool ntreeHasType(const struct bNodeTree *ntree, int type); | ||||
| bool ntreeHasTree(const struct bNodeTree *ntree, const struct bNodeTree *lookup); | bool ntreeHasTree(const struct bNodeTree *ntree, const struct bNodeTree *lookup); | ||||
| void ntreeUpdateTree(struct Main *main, struct bNodeTree *ntree); | void ntreeUpdateTree(struct Main *main, struct bNodeTree *ntree); | ||||
| void ntreeUpdateAllNew(struct Main *main); | void ntreeUpdateAllNew(struct Main *main); | ||||
| void ntreeUpdateAllUsers(struct Main *main, struct ID *id); | void ntreeUpdateAllUsers(struct Main *main, struct ID *id, int tree_update_flag); | ||||
| void ntreeGetDependencyList(struct bNodeTree *ntree, | void ntreeGetDependencyList(struct bNodeTree *ntree, | ||||
| struct bNode ***r_deplist, | struct bNode ***r_deplist, | ||||
| int *r_deplist_len); | int *r_deplist_len); | ||||
| /* XXX old trees handle output flags automatically based on special output | /* XXX old trees handle output flags automatically based on special output | ||||
| * node types and last active selection. | * node types and last active selection. | ||||
| * New tree types have a per-output socket flag to indicate the final output to use explicitly. | * New tree types have a per-output socket flag to indicate the final output to use explicitly. | ||||
| ▲ Show 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | |||||
| void nodeUpdateInternalLinks(struct bNodeTree *ntree, struct bNode *node); | void nodeUpdateInternalLinks(struct bNodeTree *ntree, struct bNode *node); | ||||
| int nodeSocketIsHidden(const struct bNodeSocket *sock); | int nodeSocketIsHidden(const struct bNodeSocket *sock); | ||||
| void ntreeTagUsedSockets(struct bNodeTree *ntree); | void ntreeTagUsedSockets(struct bNodeTree *ntree); | ||||
| void nodeSetSocketAvailability(struct bNodeSocket *sock, bool is_available); | void nodeSetSocketAvailability(struct bNodeSocket *sock, bool is_available); | ||||
| int nodeSocketLinkLimit(const struct bNodeSocket *sock); | int nodeSocketLinkLimit(const struct bNodeSocket *sock); | ||||
| void nodeDeclarationEnsure(struct bNodeTree *ntree, struct bNode *node); | NodeDeclarationHandle *nodeDeclarationEnsure(struct bNodeTree *ntree, struct bNode *node); | ||||
| /* Node Clipboard */ | /* Node Clipboard */ | ||||
| void BKE_node_clipboard_init(const struct bNodeTree *ntree); | void BKE_node_clipboard_init(const struct bNodeTree *ntree); | ||||
| void BKE_node_clipboard_clear(void); | void BKE_node_clipboard_clear(void); | ||||
| void BKE_node_clipboard_free(void); | void BKE_node_clipboard_free(void); | ||||
| bool BKE_node_clipboard_validate(void); | bool BKE_node_clipboard_validate(void); | ||||
| void BKE_node_clipboard_add_node(struct bNode *node); | void BKE_node_clipboard_add_node(struct bNode *node); | ||||
| void BKE_node_clipboard_add_link(struct bNodeLink *link); | void BKE_node_clipboard_add_link(struct bNodeLink *link); | ||||
| ▲ Show 20 Lines • Show All 790 Lines • Show Last 20 Lines | |||||