Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_node.h
| Show First 20 Lines • Show All 502 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Returns the private NodeTree object of the data-block, if it has one. | * Returns the private NodeTree object of the data-block, if it has one. | ||||
| */ | */ | ||||
| struct bNodeTree *ntreeFromID(struct ID *id); | struct bNodeTree *ntreeFromID(struct ID *id); | ||||
| 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(struct bNodeTree *ntree, int type); | struct bNode *ntreeFindType(struct bNodeTree *ntree, int type); | ||||
| bool ntreeHasTree(const struct bNodeTree *ntree, const struct bNodeTree *lookup); | |||||
| /** | |||||
| * Check recursively whether a node tree of nodes belongs to this tree. | |||||
| */ | |||||
| bool ntreeContainTree(const struct bNodeTree *ntree_to_search_in, | |||||
| const struct bNodeTree *ntree_to_search_for); | |||||
| 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); | ||||
| /** | /** | ||||
| * 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 1,091 Lines • Show Last 20 Lines | |||||