Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

node_util.h File Reference

#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)

Detailed Description

Definition in file node_util.h.


Define Documentation

#define DO_INLINE   static inline

Definition at line 81 of file node_util.h.


Typedef Documentation


Function Documentation

const char* node_blend_label ( 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 
)

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)
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)
ListBase node_mute_get_links ( struct bNodeTree ntree,
struct bNode node,
struct bNodeStack **  nsin,
struct bNodeStack **  nsout,
struct GPUNodeStack gnsin,
struct GPUNodeStack gnsout 
)
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().