Blender V2.61 - r43446
|
#include "DNA_listBase.h"
#include "BKE_node.h"
#include "MEM_guardedalloc.h"
#include "NOD_socket.h"
#include "GPU_material.h"
Go to the source code of this file.
Classes | |
struct | LinkInOutsMuteNode |
Defines | |
#define | DO_INLINE static inline |
Typedefs | |
typedef struct LinkInOutsMuteNode | LinkInOutsMuteNode |
Functions | |
void | node_free_curves (struct bNode *node) |
void | node_free_standard_storage (struct bNode *node) |
void | node_copy_curves (struct bNode *orig_node, struct bNode *new_node) |
void | node_copy_standard_storage (struct bNode *orig_node, struct bNode *new_node) |
const char * | node_blend_label (struct bNode *node) |
const char * | node_math_label (struct bNode *node) |
const char * | node_vect_math_label (struct bNode *node) |
const char * | node_filter_label (struct bNode *node) |
ListBase | node_mute_get_links (struct bNodeTree *ntree, struct bNode *node, struct bNodeStack **nsin, struct bNodeStack **nsout, struct GPUNodeStack *gnsin, struct GPUNodeStack *gnsout) |
Definition in file node_util.h.
#define DO_INLINE static inline |
Definition at line 81 of file node_util.h.
typedef struct LinkInOutsMuteNode LinkInOutsMuteNode |
const char* node_blend_label | ( | struct bNode * | node | ) |
Definition at line 73 of file node_util.c.
References bNode::custom1, ramp_blend_items, and RNA_enum_name().
Referenced by register_node_type_cmp_mix_rgb(), register_node_type_sh_mix_rgb(), and register_node_type_tex_mix_rgb().
Definition at line 61 of file node_util.c.
References curvemapping_copy(), and bNode::storage.
Referenced by register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_huecorrect(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_tex_curve_rgb(), and register_node_type_tex_curve_time().
Definition at line 66 of file node_util.c.
References MEM_dupallocN(), and bNode::storage.
Referenced by copy(), register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_channel_matte(), register_node_type_cmp_chroma_matte(), register_node_type_cmp_color_matte(), register_node_type_cmp_color_spill(), register_node_type_cmp_colorbalance(), register_node_type_cmp_crop(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_distance_matte(), register_node_type_cmp_glare(), register_node_type_cmp_hue_sat(), register_node_type_cmp_image(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_movieclip(), register_node_type_cmp_output_file(), register_node_type_cmp_splitviewer(), register_node_type_cmp_tonemap(), register_node_type_cmp_valtorgb(), register_node_type_cmp_vecblur(), register_node_type_cmp_viewer(), register_node_type_sh_attribute(), register_node_type_sh_geom(), register_node_type_sh_mapping(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_environment(), register_node_type_sh_tex_gradient(), register_node_type_sh_tex_image(), register_node_type_sh_tex_magic(), register_node_type_sh_tex_musgrave(), register_node_type_sh_tex_noise(), register_node_type_sh_tex_sky(), register_node_type_sh_tex_voronoi(), register_node_type_sh_tex_wave(), register_node_type_sh_valtorgb(), register_node_type_tex_image(), and register_node_type_tex_valtorgb().
const char* node_filter_label | ( | struct bNode * | node | ) |
Definition at line 94 of file node_util.c.
References bNode::custom1, node_filter_items, and RNA_enum_name().
Referenced by register_node_type_cmp_filter().
void node_free_curves | ( | struct bNode * | node | ) |
Definition at line 51 of file node_util.c.
References curvemapping_free(), and bNode::storage.
Referenced by register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_huecorrect(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_tex_curve_rgb(), and register_node_type_tex_curve_time().
void node_free_standard_storage | ( | struct bNode * | node | ) |
Definition at line 56 of file node_util.c.
References MEM_freeN(), and bNode::storage.
Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_channel_matte(), register_node_type_cmp_chroma_matte(), register_node_type_cmp_color_matte(), register_node_type_cmp_color_spill(), register_node_type_cmp_colorbalance(), register_node_type_cmp_crop(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_distance_matte(), register_node_type_cmp_glare(), register_node_type_cmp_hue_sat(), register_node_type_cmp_image(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_movieclip(), register_node_type_cmp_output_file(), register_node_type_cmp_splitviewer(), register_node_type_cmp_tonemap(), register_node_type_cmp_valtorgb(), register_node_type_cmp_vecblur(), register_node_type_cmp_viewer(), register_node_type_sh_attribute(), register_node_type_sh_geom(), register_node_type_sh_mapping(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_environment(), register_node_type_sh_tex_gradient(), register_node_type_sh_tex_image(), register_node_type_sh_tex_magic(), register_node_type_sh_tex_musgrave(), register_node_type_sh_tex_noise(), register_node_type_sh_tex_sky(), register_node_type_sh_tex_voronoi(), register_node_type_sh_tex_wave(), register_node_type_sh_valtorgb(), register_node_type_tex_image(), register_node_type_tex_output(), and register_node_type_tex_valtorgb().
const char* node_math_label | ( | struct bNode * | node | ) |
Definition at line 80 of file node_util.c.
References bNode::custom1, node_math_items, and RNA_enum_name().
Referenced by register_node_type_cmp_math(), register_node_type_sh_math(), and register_node_type_tex_math().
ListBase node_mute_get_links | ( | struct bNodeTree * | ntree, |
struct bNode * | node, | ||
struct bNodeStack ** | nsin, | ||
struct bNodeStack ** | nsout, | ||
struct GPUNodeStack * | gnsin, | ||
struct GPUNodeStack * | gnsout | ||
) |
Definition at line 104 of file node_util.c.
References BLI_addtail(), ListBase::first, bNodeLink::fromnode, bNodeLink::fromsock, GPUNodeStack::hasinput, bNodeStack::hasinput, GPUNodeStack::hasoutput, bNodeStack::hasoutput, i, LinkInOutsMuteNode::in, bNode::inputs, ListBase::last, link(), MEM_mallocN(), bNodeSocket::next, nodeCountSocketLinks(), NULL, LinkInOutsMuteNode::num_outs, bNode::outputs, LinkInOutsMuteNode::outs, SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, bNodeLink::tonode, bNodeLink::tosock, bNodeSocket::type, and types.
const char* node_vect_math_label | ( | struct bNode * | node | ) |
Definition at line 87 of file node_util.c.
References bNode::custom1, node_vec_math_items, and RNA_enum_name().
Referenced by register_node_type_sh_vect_math().