36 #define NODE_GRID_STEP_SIZE U.widget_unit
37 #define NODE_EDGE_PAN_INSIDE_PAD 2
38 #define NODE_EDGE_PAN_OUTSIDE_PAD 0
39 #define NODE_EDGE_PAN_SPEED_RAMP 1
40 #define NODE_EDGE_PAN_MAX_SPEED 26
41 #define NODE_EDGE_PAN_DELAY 0.5f
42 #define NODE_EDGE_PAN_ZOOM_INFLUENCE 0.5f
82 const struct rcti *rect,
129 bool *r_active_texture_changed);
160 struct Scene *scene_owner);
void ED_node_tree_update(const struct bContext *C)
void ED_node_draw_snap(struct View2D *v2d, const float cent[2], float size, NodeBorder border, unsigned int pos)
bool ED_node_is_compositor(struct SpaceNode *snode)
void ED_node_sample_set(const float col[4])
void ED_node_link_insert(struct Main *bmain, struct ScrArea *area)
void ED_node_tree_start(struct SpaceNode *snode, struct bNodeTree *ntree, struct ID *id, struct ID *from)
void ED_node_set_tree_type(struct SpaceNode *snode, struct bNodeTreeType *typeinfo)
bool ED_node_is_texture(struct SpaceNode *snode)
float ED_node_grid_size(void)
bool ED_space_node_color_sample(struct Main *bmain, struct SpaceNode *snode, struct ARegion *region, const int mval[2], float r_col[3])
void ED_node_tree_push(struct SpaceNode *snode, struct bNodeTree *ntree, struct bNode *gnode)
void ED_init_standard_node_socket_type(struct bNodeSocketType *stype)
int ED_node_tree_path_length(struct SpaceNode *snode)
void ED_init_node_socket_type_virtual(struct bNodeSocketType *stype)
void ED_node_post_apply_transform(struct bContext *C, struct bNodeTree *ntree)
void ED_node_shader_default(const struct bContext *C, struct ID *id)
void ED_node_tag_update_id(struct ID *id)
bool ED_node_is_geometry(struct SpaceNode *snode)
void ED_init_custom_node_socket_type(struct bNodeSocketType *stype)
void ED_operatormacros_node(void)
void ED_node_cursor_location_set(struct SpaceNode *snode, const float value[2])
bool ED_node_is_shader(struct SpaceNode *snode)
void ED_node_composit_default(const struct bContext *C, struct Scene *scene)
void ED_node_tree_path_get(struct SpaceNode *snode, char *value)
void ED_node_cursor_location_get(const struct SpaceNode *snode, float value[2])
void ED_node_texture_default(const struct bContext *C, struct Tex *tex)
int ED_node_tree_depth(struct SpaceNode *snode)
void ED_node_composite_job(const struct bContext *C, struct bNodeTree *nodetree, struct Scene *scene_owner)
struct bNodeTree * ED_node_tree_get(struct SpaceNode *snode, int level)
void ED_node_link_intersect_test(struct ScrArea *area, int test)
void ED_node_set_active(struct Main *bmain, struct SpaceNode *snode, struct bNodeTree *ntree, struct bNode *node, bool *r_active_texture_changed)
bool ED_space_node_get_position(struct Main *bmain, struct SpaceNode *snode, struct ARegion *region, const int mval[2], float fpos[2])
void ED_init_custom_node_type(struct bNodeType *ntype)
void ED_node_init_butfuncs(void)
void ED_node_socket_draw(struct bNodeSocket *sock, const struct rcti *rect, const float color[4], float scale)
void ED_node_tree_propagate_change(const struct bContext *C, struct Main *bmain, struct bNodeTree *ntree)
void ED_node_tree_pop(struct SpaceNode *snode)
void ED_node_set_active_viewer_key(struct SpaceNode *snode)
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
IconTextureDrawCall border
static void area(int d1, int d2, int e1, int e2, float weights[2])
struct bNodeTreeType * typeinfo