Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_node.h
| Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
| struct ListBase; | struct ListBase; | ||||
| struct Main; | struct Main; | ||||
| struct uiLayout; | struct uiLayout; | ||||
| struct MTex; | struct MTex; | ||||
| struct PointerRNA; | struct PointerRNA; | ||||
| struct RenderData; | struct RenderData; | ||||
| struct Scene; | struct Scene; | ||||
| struct Tex; | struct Tex; | ||||
| struct ViewRender; | |||||
| struct SpaceNode; | struct SpaceNode; | ||||
| struct ARegion; | struct ARegion; | ||||
| struct ColorManagedViewSettings; | struct ColorManagedViewSettings; | ||||
| struct ColorManagedDisplaySettings; | struct ColorManagedDisplaySettings; | ||||
| struct bNodeInstanceHash; | struct bNodeInstanceHash; | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Node Type Definitions | /** \name Node Type Definitions | ||||
| ▲ Show 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | typedef struct bNodeTreeType { | ||||
| char ui_name[64]; | char ui_name[64]; | ||||
| char ui_description[256]; | char ui_description[256]; | ||||
| int ui_icon; | int ui_icon; | ||||
| /* callbacks */ | /* callbacks */ | ||||
| void (*free_cache)(struct bNodeTree *ntree); | void (*free_cache)(struct bNodeTree *ntree); | ||||
| void (*free_node_cache)(struct bNodeTree *ntree, struct bNode *node); | void (*free_node_cache)(struct bNodeTree *ntree, struct bNode *node); | ||||
| void (*foreach_nodeclass)(struct Scene *scene, void *calldata, bNodeClassCallback func); /* iteration over all node classes */ | void (*foreach_nodeclass)(struct ViewRender *view_render, void *calldata, bNodeClassCallback func); /* iteration over all node classes */ | ||||
| /* Check visibility in the node editor */ | /* Check visibility in the node editor */ | ||||
| int (*poll)(const struct bContext *C, struct bNodeTreeType *ntreetype); | int (*poll)(const struct bContext *C, struct bNodeTreeType *ntreetype); | ||||
| /* Select a node tree from the context */ | /* Select a node tree from the context */ | ||||
| void (*get_from_context)(const struct bContext *C, struct bNodeTreeType *ntreetype, | void (*get_from_context)(const struct bContext *C, struct bNodeTreeType *ntreetype, | ||||
| struct bNodeTree **r_ntree, struct ID **r_id, struct ID **r_from); | struct bNodeTree **r_ntree, struct ID **r_id, struct ID **r_from); | ||||
| /* calls allowing threaded composite */ | /* calls allowing threaded composite */ | ||||
| void (*localize)(struct bNodeTree *localtree, struct bNodeTree *ntree); | void (*localize)(struct bNodeTree *localtree, struct bNodeTree *ntree); | ||||
| ▲ Show 20 Lines • Show All 772 Lines • Show Last 20 Lines | |||||