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

BKE_node.h File Reference

#include "DNA_listBase.h"
#include "RNA_types.h"

Go to the source code of this file.

Classes

struct  bNodeSocketTemplate
struct  bNodeSocketType
struct  bNodeTemplate
struct  bNodeType
struct  bNodeTreeType

Defines

#define MAX_SOCKET   64
#define NODE_PROCESSING   1
#define NODE_READY   2
#define NODE_BREAK   2
#define NODE_FINISHED   4
#define NODE_FREEBUFS   8
#define NODE_SKIPPED   16
#define NODE_EXEC_FINISHED   0
#define NODE_EXEC_SUSPEND   1
#define NODE_CLASS_INPUT   0
#define NODE_CLASS_OUTPUT   1
#define NODE_CLASS_OP_COLOR   3
#define NODE_CLASS_OP_VECTOR   4
#define NODE_CLASS_OP_FILTER   5
#define NODE_CLASS_GROUP   6
#define NODE_CLASS_FILE   7
#define NODE_CLASS_CONVERTOR   8
#define NODE_CLASS_MATTE   9
#define NODE_CLASS_DISTORT   10
#define NODE_CLASS_OP_DYNAMIC   11
#define NODE_CLASS_PATTERN   12
#define NODE_CLASS_TEXTURE   13
#define NODE_CLASS_EXECUTION   14
#define NODE_CLASS_GETDATA   15
#define NODE_CLASS_SETDATA   16
#define NODE_CLASS_MATH   17
#define NODE_CLASS_MATH_VECTOR   18
#define NODE_CLASS_MATH_ROTATION   19
#define NODE_CLASS_PARTICLES   25
#define NODE_CLASS_TRANSFORM   30
#define NODE_CLASS_COMBINE   31
#define NODE_CLASS_SHADER   40
#define NODE_CLASS_LAYOUT   100
#define NODE_OLD_SHADING   1
#define NODE_NEW_SHADING   2
#define SOCK_IN   1
#define SOCK_OUT   2
#define NODE_GROUP   2
#define NODE_FORLOOP   3
#define NODE_WHILELOOP   4
#define NODE_FRAME   5
#define NODE_GROUP_MENU   10000
#define NODE_DYNAMIC_MENU   20000
#define SH_NODE_OUTPUT   1
#define SH_NODE_MATERIAL   100
#define SH_NODE_RGB   101
#define SH_NODE_VALUE   102
#define SH_NODE_MIX_RGB   103
#define SH_NODE_VALTORGB   104
#define SH_NODE_RGBTOBW   105
#define SH_NODE_TEXTURE   106
#define SH_NODE_NORMAL   107
#define SH_NODE_GEOMETRY   108
#define SH_NODE_MAPPING   109
#define SH_NODE_CURVE_VEC   110
#define SH_NODE_CURVE_RGB   111
#define SH_NODE_CAMERA   114
#define SH_NODE_MATH   115
#define SH_NODE_VECT_MATH   116
#define SH_NODE_SQUEEZE   117
#define SH_NODE_MATERIAL_EXT   118
#define SH_NODE_INVERT   119
#define SH_NODE_SEPRGB   120
#define SH_NODE_COMBRGB   121
#define SH_NODE_HUE_SAT   122
#define NODE_DYNAMIC   123
#define SH_NODE_OUTPUT_MATERIAL   124
#define SH_NODE_OUTPUT_WORLD   125
#define SH_NODE_OUTPUT_LAMP   126
#define SH_NODE_FRESNEL   127
#define SH_NODE_MIX_SHADER   128
#define SH_NODE_ATTRIBUTE   129
#define SH_NODE_BACKGROUND   130
#define SH_NODE_BSDF_ANISOTROPIC   131
#define SH_NODE_BSDF_DIFFUSE   132
#define SH_NODE_BSDF_GLOSSY   133
#define SH_NODE_BSDF_GLASS   134
#define SH_NODE_BSDF_TRANSLUCENT   137
#define SH_NODE_BSDF_TRANSPARENT   138
#define SH_NODE_BSDF_VELVET   139
#define SH_NODE_EMISSION   140
#define SH_NODE_NEW_GEOMETRY   141
#define SH_NODE_LIGHT_PATH   142
#define SH_NODE_TEX_IMAGE   143
#define SH_NODE_TEX_SKY   145
#define SH_NODE_TEX_GRADIENT   146
#define SH_NODE_TEX_VORONOI   147
#define SH_NODE_TEX_MAGIC   148
#define SH_NODE_TEX_WAVE   149
#define SH_NODE_TEX_NOISE   150
#define SH_NODE_TEX_MUSGRAVE   152
#define SH_NODE_TEX_COORD   155
#define SH_NODE_ADD_SHADER   156
#define SH_NODE_TEX_ENVIRONMENT   157
#define SH_NODE_OUTPUT_TEXTURE   158
#define SH_NODE_HOLDOUT   159
#define SH_NODE_LAYER_WEIGHT   160
#define SH_NODE_VOLUME_TRANSPARENT   161
#define SH_NODE_VOLUME_ISOTROPIC   162
#define SH_NODE_GAMMA   163
#define SH_NODE_TEX_CHECKER   164
#define SH_NODE_MAT_DIFF   1
#define SH_NODE_MAT_SPEC   2
#define SH_NODE_MAT_NEG   4
#define NODE_DYNAMIC_READY   0
#define NODE_DYNAMIC_LOADED   1
#define NODE_DYNAMIC_NEW   2
#define NODE_DYNAMIC_UPDATED   3
#define NODE_DYNAMIC_ADDEXIST   4
#define NODE_DYNAMIC_ERROR   5
#define NODE_DYNAMIC_REPARSE   6
#define NODE_DYNAMIC_SET   15
#define RRES_OUT_IMAGE   0
#define RRES_OUT_ALPHA   1
#define RRES_OUT_Z   2
#define RRES_OUT_NORMAL   3
#define RRES_OUT_UV   4
#define RRES_OUT_VEC   5
#define RRES_OUT_RGBA   6
#define RRES_OUT_DIFF   7
#define RRES_OUT_SPEC   8
#define RRES_OUT_SHADOW   9
#define RRES_OUT_AO   10
#define RRES_OUT_REFLECT   11
#define RRES_OUT_REFRACT   12
#define RRES_OUT_INDIRECT   13
#define RRES_OUT_INDEXOB   14
#define RRES_OUT_INDEXMA   15
#define RRES_OUT_MIST   16
#define RRES_OUT_EMIT   17
#define RRES_OUT_ENV   18
#define CMP_NODE_VIEWER   201
#define CMP_NODE_RGB   202
#define CMP_NODE_VALUE   203
#define CMP_NODE_MIX_RGB   204
#define CMP_NODE_VALTORGB   205
#define CMP_NODE_RGBTOBW   206
#define CMP_NODE_NORMAL   207
#define CMP_NODE_CURVE_VEC   208
#define CMP_NODE_CURVE_RGB   209
#define CMP_NODE_ALPHAOVER   210
#define CMP_NODE_BLUR   211
#define CMP_NODE_FILTER   212
#define CMP_NODE_MAP_VALUE   213
#define CMP_NODE_TIME   214
#define CMP_NODE_VECBLUR   215
#define CMP_NODE_SEPRGBA   216
#define CMP_NODE_SEPHSVA   217
#define CMP_NODE_SETALPHA   218
#define CMP_NODE_HUE_SAT   219
#define CMP_NODE_IMAGE   220
#define CMP_NODE_R_LAYERS   221
#define CMP_NODE_COMPOSITE   222
#define CMP_NODE_OUTPUT_FILE   223
#define CMP_NODE_TEXTURE   224
#define CMP_NODE_TRANSLATE   225
#define CMP_NODE_ZCOMBINE   226
#define CMP_NODE_COMBRGBA   227
#define CMP_NODE_DILATEERODE   228
#define CMP_NODE_ROTATE   229
#define CMP_NODE_SCALE   230
#define CMP_NODE_SEPYCCA   231
#define CMP_NODE_COMBYCCA   232
#define CMP_NODE_SEPYUVA   233
#define CMP_NODE_COMBYUVA   234
#define CMP_NODE_DIFF_MATTE   235
#define CMP_NODE_COLOR_SPILL   236
#define CMP_NODE_CHROMA_MATTE   237
#define CMP_NODE_CHANNEL_MATTE   238
#define CMP_NODE_FLIP   239
#define CMP_NODE_SPLITVIEWER   240
#define CMP_NODE_INDEX_MASK   241
#define CMP_NODE_MAP_UV   242
#define CMP_NODE_ID_MASK   243
#define CMP_NODE_DEFOCUS   244
#define CMP_NODE_DISPLACE   245
#define CMP_NODE_COMBHSVA   246
#define CMP_NODE_MATH   247
#define CMP_NODE_LUMA_MATTE   248
#define CMP_NODE_BRIGHTCONTRAST   249
#define CMP_NODE_GAMMA   250
#define CMP_NODE_INVERT   251
#define CMP_NODE_NORMALIZE   252
#define CMP_NODE_CROP   253
#define CMP_NODE_DBLUR   254
#define CMP_NODE_BILATERALBLUR   255
#define CMP_NODE_PREMULKEY   256
#define CMP_NODE_DIST_MATTE   257
#define CMP_NODE_VIEW_LEVELS   258
#define CMP_NODE_COLOR_MATTE   259
#define CMP_NODE_COLORBALANCE   260
#define CMP_NODE_HUECORRECT   261
#define CMP_NODE_MOVIECLIP   262
#define CMP_NODE_STABILIZE2D   263
#define CMP_NODE_TRANSFORM   264
#define CMP_NODE_MOVIEDISTORTION   265
#define CMP_NODE_DOUBLEEDGEMASK   266
#define CMP_NODE_GLARE   301
#define CMP_NODE_TONEMAP   302
#define CMP_NODE_LENSDIST   303
#define CMP_CHAN_RGB   1
#define CMP_CHAN_A   2
#define CMP_CHAN_R   4
#define CMP_CHAN_G   8
#define CMP_CHAN_B   16
#define CMP_FILT_SOFT   0
#define CMP_FILT_SHARP   1
#define CMP_FILT_LAPLACE   2
#define CMP_FILT_SOBEL   3
#define CMP_FILT_PREWITT   4
#define CMP_FILT_KIRSCH   5
#define CMP_FILT_SHADOW   6
#define CMP_SCALE_RELATIVE   0
#define CMP_SCALE_ABSOLUTE   1
#define CMP_SCALE_SCENEPERCENT   2
#define CMP_SCALE_RENDERPERCENT   3
#define TEX_NODE_OUTPUT   401
#define TEX_NODE_CHECKER   402
#define TEX_NODE_TEXTURE   403
#define TEX_NODE_BRICKS   404
#define TEX_NODE_MATH   405
#define TEX_NODE_MIX_RGB   406
#define TEX_NODE_RGBTOBW   407
#define TEX_NODE_VALTORGB   408
#define TEX_NODE_IMAGE   409
#define TEX_NODE_CURVE_RGB   410
#define TEX_NODE_INVERT   411
#define TEX_NODE_HUE_SAT   412
#define TEX_NODE_CURVE_TIME   413
#define TEX_NODE_ROTATE   414
#define TEX_NODE_VIEWER   415
#define TEX_NODE_TRANSLATE   416
#define TEX_NODE_COORD   417
#define TEX_NODE_DISTANCE   418
#define TEX_NODE_COMPOSE   419
#define TEX_NODE_DECOMPOSE   420
#define TEX_NODE_VALTONOR   421
#define TEX_NODE_SCALE   422
#define TEX_NODE_AT   423
#define TEX_NODE_PROC   500
#define TEX_NODE_PROC_MAX   600

Typedefs

typedef struct bNodeSocketTemplate bNodeSocketTemplate
typedef void(* NodeSocketButtonFunction )(const struct bContext *C, struct uiBlock *block, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *sock, const char *name, int x, int y, int width)
typedef struct bNodeSocketType bNodeSocketType
typedef struct bNodeTemplate bNodeTemplate
typedef struct bNodeType bNodeType
typedef void(* bNodeTreeCallback )(void *calldata, struct ID *owner_id, struct bNodeTree *ntree)
typedef void(* bNodeClassCallback )(void *calldata, int nclass, const char *name)
typedef struct bNodeTreeType bNodeTreeType

Functions

struct bNodeTreeTypentreeGetType (int type)
struct bNodeTypentreeGetNodeType (struct bNodeTree *ntree)
struct bNodeSocketTypentreeGetSocketType (int type)
struct bNodeTreentreeAddTree (const char *name, int type, int nodetype)
void ntreeInitTypes (struct bNodeTree *ntree)
void ntreeFreeTree (struct bNodeTree *ntree)
struct bNodeTreentreeCopyTree (struct bNodeTree *ntree)
void ntreeSwitchID (struct bNodeTree *ntree, struct ID *sce_from, struct ID *sce_to)
void ntreeMakeLocal (struct bNodeTree *ntree)
int ntreeHasType (struct bNodeTree *ntree, int type)
void ntreeUpdateTree (struct bNodeTree *ntree)
void ntreeVerifyNodes (struct Main *main, struct ID *id)
void ntreeGetDependencyList (struct bNodeTree *ntree, struct bNode ***deplist, int *totnodes)
void ntreeSetOutput (struct bNodeTree *ntree)
void ntreeInitPreview (struct bNodeTree *, int xsize, int ysize)
void ntreeClearPreview (struct bNodeTree *ntree)
void ntreeFreeCache (struct bNodeTree *ntree)
int ntreeNodeExists (struct bNodeTree *ntree, struct bNode *testnode)
int ntreeOutputExists (struct bNode *node, struct bNodeSocket *testsock)
struct bNodeTreentreeLocalize (struct bNodeTree *ntree)
void ntreeLocalSync (struct bNodeTree *localtree, struct bNodeTree *ntree)
void ntreeLocalMerge (struct bNodeTree *localtree, struct bNodeTree *ntree)
struct bNodeSocketnodeAddSocket (struct bNodeTree *ntree, struct bNode *node, int in_out, const char *name, int type)
struct bNodeSocketnodeInsertSocket (struct bNodeTree *ntree, struct bNode *node, int in_out, struct bNodeSocket *next_sock, const char *name, int type)
void nodeRemoveSocket (struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *sock)
void nodeRemoveAllSockets (struct bNodeTree *ntree, struct bNode *node)
void nodeAddToPreview (struct bNode *, float *, int, int, int)
struct bNodenodeAddNode (struct bNodeTree *ntree, struct bNodeTemplate *ntemp)
void nodeUnlinkNode (struct bNodeTree *ntree, struct bNode *node)
void nodeUniqueName (struct bNodeTree *ntree, struct bNode *node)
void nodeRegisterType (struct bNodeTreeType *ttype, struct bNodeType *ntype)
void nodeMakeDynamicType (struct bNode *node)
int nodeDynamicUnlinkText (struct ID *txtid)
void nodeFreeNode (struct bNodeTree *ntree, struct bNode *node)
struct bNodenodeCopyNode (struct bNodeTree *ntree, struct bNode *node)
struct bNodeLinknodeAddLink (struct bNodeTree *ntree, struct bNode *fromnode, struct bNodeSocket *fromsock, struct bNode *tonode, struct bNodeSocket *tosock)
void nodeRemLink (struct bNodeTree *ntree, struct bNodeLink *link)
void nodeRemSocketLinks (struct bNodeTree *ntree, struct bNodeSocket *sock)
void nodeSpaceCoords (struct bNode *node, float *locx, float *locy)
void nodeAttachNode (struct bNode *node, struct bNode *parent)
void nodeDetachNode (struct bNode *node)
struct bNodenodeFindNodebyName (struct bNodeTree *ntree, const char *name)
int nodeFindNode (struct bNodeTree *ntree, struct bNodeSocket *sock, struct bNode **nodep, int *sockindex, int *in_out)
struct bNodeLinknodeFindLink (struct bNodeTree *ntree, struct bNodeSocket *from, struct bNodeSocket *to)
int nodeCountSocketLinks (struct bNodeTree *ntree, struct bNodeSocket *sock)
void nodeSetActive (struct bNodeTree *ntree, struct bNode *node)
struct bNodenodeGetActive (struct bNodeTree *ntree)
struct bNodenodeGetActiveID (struct bNodeTree *ntree, short idtype)
int nodeSetActiveID (struct bNodeTree *ntree, short idtype, struct ID *id)
void nodeClearActiveID (struct bNodeTree *ntree, short idtype)
struct bNodenodeGetActiveTexture (struct bNodeTree *ntree)
void nodeUpdate (struct bNodeTree *ntree, struct bNode *node)
int nodeUpdateID (struct bNodeTree *ntree, struct ID *id)
void nodeFreePreview (struct bNode *node)
int nodeSocketIsHidden (struct bNodeSocket *sock)
struct bNodeTemplate nodeMakeTemplate (struct bNode *node)
int nodeValid (struct bNodeTree *ntree, struct bNodeTemplate *ntemp)
const char * nodeLabel (struct bNode *node)
struct bNodeTreenodeGroupEditGet (struct bNode *node)
struct bNodeTreenodeGroupEditSet (struct bNode *node, int edit)
void nodeGroupEditClear (struct bNode *node)
void node_type_base (struct bNodeTreeType *ttype, struct bNodeType *ntype, int type, const char *name, short nclass, short flag)
void node_type_socket_templates (struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void node_type_size (struct bNodeType *ntype, int width, int minwidth, int maxwidth)
void node_type_init (struct bNodeType *ntype, void(*initfunc)(struct bNodeTree *ntree, struct bNode *node, struct bNodeTemplate *ntemp))
void node_type_valid (struct bNodeType *ntype, int(*validfunc)(struct bNodeTree *ntree, struct bNodeTemplate *ntemp))
void node_type_storage (struct bNodeType *ntype, const char *storagename, void(*freestoragefunc)(struct bNode *), void(*copystoragefunc)(struct bNode *, struct bNode *))
void node_type_label (struct bNodeType *ntype, const char *(*labelfunc)(struct bNode *))
void node_type_template (struct bNodeType *ntype, struct bNodeTemplate(*templatefunc)(struct bNode *))
void node_type_update (struct bNodeType *ntype, void(*updatefunc)(struct bNodeTree *ntree, struct bNode *node), void(*verifyfunc)(struct bNodeTree *ntree, struct bNode *node, struct ID *id))
void node_type_tree (struct bNodeType *ntype, void(*inittreefunc)(struct bNodeTree *), void(*updatetreefunc)(struct bNodeTree *))
void node_type_group_edit (struct bNodeType *ntype, struct bNodeTree *(*group_edit_get)(struct bNode *node), struct bNodeTree *(*group_edit_set)(struct bNode *node, int edit), void(*group_edit_clear)(struct bNode *node))
void node_type_exec (struct bNodeType *ntype, void(*execfunc)(void *data, struct bNode *, struct bNodeStack **, struct bNodeStack **))
void node_type_exec_new (struct bNodeType *ntype, void *(*initexecfunc)(struct bNode *node), void(*freeexecfunc)(struct bNode *node, void *nodedata), void(*newexecfunc)(void *data, int thread, struct bNode *, void *nodedata, struct bNodeStack **, struct bNodeStack **))
void node_type_mute (struct bNodeType *ntype, void(*mutefunc)(void *data, int thread, struct bNode *, void *nodedata, struct bNodeStack **, struct bNodeStack **), ListBase(*mutelinksfunc)(struct bNodeTree *, struct bNode *, struct bNodeStack **, struct bNodeStack **, struct GPUNodeStack *, struct GPUNodeStack *))
void node_type_gpu (struct bNodeType *ntype, int(*gpufunc)(struct GPUMaterial *mat, struct bNode *node, struct GPUNodeStack *in, struct GPUNodeStack *out))
void node_type_gpu_ext (struct bNodeType *ntype, int(*gpuextfunc)(struct GPUMaterial *mat, struct bNode *node, void *nodedata, struct GPUNodeStack *in, struct GPUNodeStack *out))
void node_type_gpu_mute (struct bNodeType *ntype, int(*gpumutefunc)(struct GPUMaterial *, struct bNode *, void *, struct GPUNodeStack *, struct GPUNodeStack *))
void node_type_compatibility (struct bNodeType *ntype, short compatibility)
struct bNodeSocketnode_group_find_input (struct bNode *gnode, struct bNodeSocket *gsock)
struct bNodeSocketnode_group_find_output (struct bNode *gnode, struct bNodeSocket *gsock)
struct bNodeSocketnode_group_add_socket (struct bNodeTree *ngroup, const char *name, int type, int in_out)
struct bNodeSocketnode_group_expose_socket (struct bNodeTree *ngroup, struct bNodeSocket *sock, int in_out)
void node_group_expose_all_sockets (struct bNodeTree *ngroup)
void node_group_remove_socket (struct bNodeTree *ngroup, struct bNodeSocket *gsock, int in_out)
struct bNodenode_group_make_from_selected (struct bNodeTree *ntree)
int node_group_ungroup (struct bNodeTree *ntree, struct bNode *gnode)
void register_node_type_frame (struct bNodeTreeType *ttype)
struct bNodeTreeExecntreeShaderBeginExecTree (struct bNodeTree *ntree, int use_tree_data)
void ntreeShaderEndExecTree (struct bNodeTreeExec *exec, int use_tree_data)
void ntreeShaderExecTree (struct bNodeTree *ntree, struct ShadeInput *shi, struct ShadeResult *shr)
void ntreeShaderGetTexcoMode (struct bNodeTree *ntree, int osa, short *texco, int *mode)
void nodeShaderSynchronizeID (struct bNode *node, int copyto)
void set_node_shader_lamp_loop (void(*lamp_loop_func)(struct ShadeInput *, struct ShadeResult *))
void ntreeGPUMaterialNodes (struct bNodeTree *ntree, struct GPUMaterial *mat)
struct bNodeTreeExecntreeCompositBeginExecTree (struct bNodeTree *ntree, int use_tree_data)
void ntreeCompositEndExecTree (struct bNodeTreeExec *exec, int use_tree_data)
void ntreeCompositExecTree (struct bNodeTree *ntree, struct RenderData *rd, int do_previews)
void ntreeCompositTagRender (struct Scene *sce)
int ntreeCompositTagAnimated (struct bNodeTree *ntree)
void ntreeCompositTagGenerators (struct bNodeTree *ntree)
void ntreeCompositForceHidden (struct bNodeTree *ntree, struct Scene *scene)
void ntreeCompositClearTags (struct bNodeTree *ntree)
int ntreeTexTagAnimated (struct bNodeTree *ntree)
void ntreeTexSetPreviewFlag (int)
void ntreeTexCheckCyclics (struct bNodeTree *ntree)
char * ntreeTexOutputMenu (struct bNodeTree *ntree)
struct bNodeTreeExecntreeTexBeginExecTree (struct bNodeTree *ntree, int use_tree_data)
void ntreeTexEndExecTree (struct bNodeTreeExec *exec, int use_tree_data)
int ntreeTexExecTree (struct bNodeTree *ntree, struct TexResult *target, float *coord, float *dxt, float *dyt, int osatex, short thread, struct Tex *tex, short which_output, int cfra, int preview, struct ShadeInput *shi, struct MTex *mtex)
void init_nodesystem (void)
void free_nodesystem (void)
void clear_scene_in_nodes (struct Main *bmain, struct Scene *sce)

Variables

void(* node_shader_lamp_loop )(struct ShadeInput *, struct ShadeResult *)

Detailed Description

Definition in file BKE_node.h.


Define Documentation

#define CMP_CHAN_A   2

Definition at line 653 of file BKE_node.h.

Referenced by def_cmp_invert(), do_invert(), and do_invert_fac().

#define CMP_CHAN_B   16

Definition at line 656 of file BKE_node.h.

#define CMP_CHAN_G   8

Definition at line 655 of file BKE_node.h.

#define CMP_CHAN_R   4

Definition at line 654 of file BKE_node.h.

#define CMP_CHAN_RGB   1

Definition at line 652 of file BKE_node.h.

Referenced by def_cmp_invert(), do_invert(), do_invert_fac(), and node_composit_init_invert().

#define CMP_FILT_KIRSCH   5

Definition at line 664 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_FILT_LAPLACE   2

Definition at line 661 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_FILT_PREWITT   4

Definition at line 663 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_FILT_SHADOW   6

Definition at line 665 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_FILT_SHARP   1

Definition at line 660 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_FILT_SOBEL   3

Definition at line 662 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_FILT_SOFT   0

Definition at line 659 of file BKE_node.h.

Referenced by node_composit_exec_filter().

#define CMP_NODE_ALPHAOVER   210
#define CMP_NODE_BILATERALBLUR   255

Definition at line 634 of file BKE_node.h.

#define CMP_NODE_BLUR   211

Definition at line 590 of file BKE_node.h.

#define CMP_NODE_BRIGHTCONTRAST   249

Definition at line 628 of file BKE_node.h.

#define CMP_NODE_CHANNEL_MATTE   238

Definition at line 617 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_channel_matte().

#define CMP_NODE_CHROMA_MATTE   237

Definition at line 616 of file BKE_node.h.

#define CMP_NODE_COLOR_MATTE   259

Definition at line 638 of file BKE_node.h.

#define CMP_NODE_COLOR_SPILL   236

Definition at line 615 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_color_spill().

#define CMP_NODE_COLORBALANCE   260

Definition at line 639 of file BKE_node.h.

#define CMP_NODE_COMBHSVA   246

Definition at line 625 of file BKE_node.h.

Referenced by register_node_type_cmp_combhsva().

#define CMP_NODE_COMBRGBA   227

Definition at line 606 of file BKE_node.h.

#define CMP_NODE_COMBYCCA   232

Definition at line 611 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_combycca().

#define CMP_NODE_COMBYUVA   234

Definition at line 613 of file BKE_node.h.

Referenced by register_node_type_cmp_combyuva().

#define CMP_NODE_COMPOSITE   222
#define CMP_NODE_CROP   253

Definition at line 632 of file BKE_node.h.

#define CMP_NODE_CURVE_RGB   209

Definition at line 588 of file BKE_node.h.

#define CMP_NODE_CURVE_VEC   208
#define CMP_NODE_DBLUR   254
#define CMP_NODE_DEFOCUS   244
#define CMP_NODE_DIFF_MATTE   235

Definition at line 614 of file BKE_node.h.

#define CMP_NODE_DILATEERODE   228

Definition at line 607 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_dilateerode().

#define CMP_NODE_DISPLACE   245

Definition at line 624 of file BKE_node.h.

#define CMP_NODE_DIST_MATTE   257

Definition at line 636 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_distance_matte().

#define CMP_NODE_DOUBLEEDGEMASK   266

Definition at line 645 of file BKE_node.h.

#define CMP_NODE_FILTER   212

Definition at line 591 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_filter().

#define CMP_NODE_FLIP   239

Definition at line 618 of file BKE_node.h.

#define CMP_NODE_GAMMA   250

Definition at line 629 of file BKE_node.h.

Referenced by register_node_type_cmp_gamma().

#define CMP_NODE_GLARE   301

Definition at line 647 of file BKE_node.h.

#define CMP_NODE_HUE_SAT   219

Definition at line 598 of file BKE_node.h.

#define CMP_NODE_HUECORRECT   261
#define CMP_NODE_ID_MASK   243

Definition at line 622 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_idmask().

#define CMP_NODE_IMAGE   220
#define CMP_NODE_INDEX_MASK   241

Definition at line 620 of file BKE_node.h.

#define CMP_NODE_INVERT   251

Definition at line 630 of file BKE_node.h.

#define CMP_NODE_LENSDIST   303

Definition at line 649 of file BKE_node.h.

#define CMP_NODE_LUMA_MATTE   248

Definition at line 627 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_luma_matte().

#define CMP_NODE_MAP_UV   242

Definition at line 621 of file BKE_node.h.

#define CMP_NODE_MAP_VALUE   213

Definition at line 592 of file BKE_node.h.

#define CMP_NODE_MATH   247

Definition at line 626 of file BKE_node.h.

#define CMP_NODE_MIX_RGB   204

Definition at line 583 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_mix_rgb().

#define CMP_NODE_MOVIECLIP   262

Definition at line 641 of file BKE_node.h.

#define CMP_NODE_MOVIEDISTORTION   265
#define CMP_NODE_NORMAL   207

Definition at line 586 of file BKE_node.h.

#define CMP_NODE_NORMALIZE   252

Definition at line 631 of file BKE_node.h.

Referenced by register_node_type_cmp_normalize().

#define CMP_NODE_OUTPUT_FILE   223

Definition at line 602 of file BKE_node.h.

#define CMP_NODE_PREMULKEY   256

Definition at line 635 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_premulkey().

#define CMP_NODE_R_LAYERS   221

Definition at line 600 of file BKE_node.h.

#define CMP_NODE_RGB   202
#define CMP_NODE_RGBTOBW   206

Definition at line 585 of file BKE_node.h.

Referenced by register_node_type_cmp_rgbtobw().

#define CMP_NODE_ROTATE   229

Definition at line 608 of file BKE_node.h.

#define CMP_NODE_SCALE   230

Definition at line 609 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_scale().

#define CMP_NODE_SEPHSVA   217

Definition at line 596 of file BKE_node.h.

#define CMP_NODE_SEPRGBA   216

Definition at line 595 of file BKE_node.h.

Referenced by register_node_type_cmp_seprgba().

#define CMP_NODE_SEPYCCA   231

Definition at line 610 of file BKE_node.h.

#define CMP_NODE_SEPYUVA   233

Definition at line 612 of file BKE_node.h.

#define CMP_NODE_SETALPHA   218

Definition at line 597 of file BKE_node.h.

Referenced by register_node_type_cmp_setalpha().

#define CMP_NODE_SPLITVIEWER   240
#define CMP_NODE_STABILIZE2D   263

Definition at line 642 of file BKE_node.h.

#define CMP_NODE_TEXTURE   224
#define CMP_NODE_TIME   214
#define CMP_NODE_TONEMAP   302

Definition at line 648 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_tonemap().

#define CMP_NODE_TRANSFORM   264
#define CMP_NODE_TRANSLATE   225

Definition at line 604 of file BKE_node.h.

#define CMP_NODE_VALTORGB   205

Definition at line 584 of file BKE_node.h.

#define CMP_NODE_VALUE   203

Definition at line 582 of file BKE_node.h.

#define CMP_NODE_VECBLUR   215

Definition at line 594 of file BKE_node.h.

#define CMP_NODE_VIEW_LEVELS   258

Definition at line 637 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_view_levels().

#define CMP_NODE_VIEWER   201

Definition at line 580 of file BKE_node.h.

#define CMP_NODE_ZCOMBINE   226

Definition at line 605 of file BKE_node.h.

Referenced by node_composit_set_butfunc(), and register_node_type_cmp_zcombine().

#define CMP_SCALE_ABSOLUTE   1

Definition at line 669 of file BKE_node.h.

Referenced by node_composit_exec_scale().

#define CMP_SCALE_RELATIVE   0

Definition at line 668 of file BKE_node.h.

Referenced by node_composit_exec_scale().

#define CMP_SCALE_RENDERPERCENT   3

Definition at line 671 of file BKE_node.h.

Referenced by node_composit_exec_scale().

#define CMP_SCALE_SCENEPERCENT   2

Definition at line 670 of file BKE_node.h.

Referenced by node_composit_exec_scale().

#define MAX_SOCKET   64
#define NODE_BREAK   2
#define NODE_CLASS_COMBINE   31

Definition at line 244 of file BKE_node.h.

#define NODE_CLASS_CONVERTOR   8
#define NODE_CLASS_DISTORT   10
#define NODE_CLASS_EXECUTION   14

Definition at line 236 of file BKE_node.h.

#define NODE_CLASS_FILE   7

Definition at line 229 of file BKE_node.h.

#define NODE_CLASS_GETDATA   15

Definition at line 237 of file BKE_node.h.

#define NODE_CLASS_GROUP   6
#define NODE_CLASS_INPUT   0
#define NODE_CLASS_LAYOUT   100
#define NODE_CLASS_MATH   17

Definition at line 239 of file BKE_node.h.

#define NODE_CLASS_MATH_ROTATION   19

Definition at line 241 of file BKE_node.h.

#define NODE_CLASS_MATH_VECTOR   18

Definition at line 240 of file BKE_node.h.

#define NODE_CLASS_MATTE   9
#define NODE_CLASS_OP_COLOR   3
#define NODE_CLASS_OP_DYNAMIC   11

Definition at line 233 of file BKE_node.h.

Referenced by register_node_type_sh_dynamic().

#define NODE_CLASS_OP_FILTER   5
#define NODE_CLASS_OP_VECTOR   4
#define NODE_CLASS_OUTPUT   1
#define NODE_CLASS_PARTICLES   25

Definition at line 242 of file BKE_node.h.

#define NODE_CLASS_PATTERN   12
#define NODE_CLASS_SETDATA   16

Definition at line 238 of file BKE_node.h.

#define NODE_CLASS_SHADER   40
#define NODE_CLASS_TEXTURE   13
#define NODE_CLASS_TRANSFORM   30

Definition at line 243 of file BKE_node.h.

#define NODE_DYNAMIC   123
#define NODE_DYNAMIC_ADDEXIST   4

Definition at line 536 of file BKE_node.h.

Referenced by ntreeInitTypes().

#define NODE_DYNAMIC_ERROR   5

Definition at line 537 of file BKE_node.h.

Referenced by node_dynamic_update_cb(), and node_shader_buts_dynamic().

#define NODE_DYNAMIC_LOADED   1

Definition at line 533 of file BKE_node.h.

Referenced by direct_link_nodetree().

#define NODE_DYNAMIC_MENU   20000

Definition at line 440 of file BKE_node.h.

#define NODE_DYNAMIC_NEW   2

Definition at line 534 of file BKE_node.h.

Referenced by node_browse_text_cb().

#define NODE_DYNAMIC_READY   0

Definition at line 532 of file BKE_node.h.

#define NODE_DYNAMIC_REPARSE   6

Definition at line 538 of file BKE_node.h.

Referenced by node_dynamic_update_cb().

#define NODE_DYNAMIC_SET   15

Definition at line 539 of file BKE_node.h.

#define NODE_DYNAMIC_UPDATED   3

Definition at line 535 of file BKE_node.h.

#define NODE_EXEC_FINISHED   0

Definition at line 219 of file BKE_node.h.

#define NODE_EXEC_SUSPEND   1

Definition at line 220 of file BKE_node.h.

#define NODE_FINISHED   4

Definition at line 214 of file BKE_node.h.

Referenced by freeExecutableNode(), ntreeCompositExecTree(), and setExecutableNodes().

#define NODE_FORLOOP   3
#define NODE_FRAME   5
#define NODE_FREEBUFS   8

Definition at line 215 of file BKE_node.h.

Referenced by freeExecutableNode().

#define NODE_GROUP   2
#define NODE_GROUP_MENU   10000

Definition at line 439 of file BKE_node.h.

#define NODE_NEW_SHADING   2

Definition at line 250 of file BKE_node.h.

Referenced by node_add_menu(), register_node_type_frame(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geometry(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), and ui_node_menu_column().

#define NODE_OLD_SHADING   1
#define NODE_PROCESSING   1

Definition at line 211 of file BKE_node.h.

Referenced by ntreeCompositExecTree().

#define NODE_READY   2
#define NODE_SKIPPED   16

Definition at line 216 of file BKE_node.h.

Referenced by local_sync(), and setExecutableNodes().

#define NODE_WHILELOOP   4
#define RRES_OUT_ALPHA   1

Definition at line 560 of file BKE_node.h.

Referenced by node_composit_exec_rlayers().

#define RRES_OUT_AO   10
#define RRES_OUT_DIFF   7
#define RRES_OUT_EMIT   17
#define RRES_OUT_ENV   18
#define RRES_OUT_IMAGE   0

Definition at line 559 of file BKE_node.h.

Referenced by node_composit_exec_rlayers().

#define RRES_OUT_INDEXMA   15
#define RRES_OUT_INDEXOB   14
#define RRES_OUT_INDIRECT   13
#define RRES_OUT_MIST   16
#define RRES_OUT_NORMAL   3
#define RRES_OUT_REFLECT   11
#define RRES_OUT_REFRACT   12
#define RRES_OUT_RGBA   6
#define RRES_OUT_SHADOW   9
#define RRES_OUT_SPEC   8
#define RRES_OUT_UV   4
#define RRES_OUT_VEC   5
#define RRES_OUT_Z   2
#define SH_NODE_ADD_SHADER   156

Definition at line 517 of file BKE_node.h.

#define SH_NODE_ATTRIBUTE   129

Definition at line 496 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_attribute().

#define SH_NODE_BACKGROUND   130

Definition at line 497 of file BKE_node.h.

#define SH_NODE_BSDF_ANISOTROPIC   131

Definition at line 498 of file BKE_node.h.

Referenced by register_node_type_sh_bsdf_anisotropic().

#define SH_NODE_BSDF_DIFFUSE   132

Definition at line 499 of file BKE_node.h.

#define SH_NODE_BSDF_GLASS   134

Definition at line 501 of file BKE_node.h.

#define SH_NODE_BSDF_GLOSSY   133

Definition at line 500 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_bsdf_glossy().

#define SH_NODE_BSDF_TRANSLUCENT   137

Definition at line 502 of file BKE_node.h.

Referenced by register_node_type_sh_bsdf_translucent().

#define SH_NODE_BSDF_TRANSPARENT   138

Definition at line 503 of file BKE_node.h.

#define SH_NODE_BSDF_VELVET   139

Definition at line 504 of file BKE_node.h.

Referenced by register_node_type_sh_bsdf_velvet().

#define SH_NODE_CAMERA   114

Definition at line 480 of file BKE_node.h.

Referenced by register_node_type_sh_camera().

#define SH_NODE_COMBRGB   121

Definition at line 487 of file BKE_node.h.

#define SH_NODE_CURVE_RGB   111

Definition at line 479 of file BKE_node.h.

#define SH_NODE_CURVE_VEC   110
#define SH_NODE_EMISSION   140

Definition at line 505 of file BKE_node.h.

#define SH_NODE_FRESNEL   127

Definition at line 494 of file BKE_node.h.

Referenced by register_node_type_sh_fresnel().

#define SH_NODE_GAMMA   163

Definition at line 524 of file BKE_node.h.

#define SH_NODE_GEOMETRY   108
#define SH_NODE_HOLDOUT   159

Definition at line 520 of file BKE_node.h.

Referenced by register_node_type_sh_holdout().

#define SH_NODE_HUE_SAT   122

Definition at line 488 of file BKE_node.h.

Referenced by register_node_type_sh_hue_sat().

#define SH_NODE_INVERT   119

Definition at line 485 of file BKE_node.h.

#define SH_NODE_LAYER_WEIGHT   160

Definition at line 521 of file BKE_node.h.

#define SH_NODE_LIGHT_PATH   142

Definition at line 507 of file BKE_node.h.

#define SH_NODE_MAPPING   109

Definition at line 477 of file BKE_node.h.

#define SH_NODE_MAT_DIFF   1
#define SH_NODE_MAT_NEG   4

Definition at line 530 of file BKE_node.h.

Referenced by def_sh_material(), gpu_shader_material(), and node_shader_exec_material().

#define SH_NODE_MAT_SPEC   2
#define SH_NODE_MATERIAL   100

Definition at line 468 of file BKE_node.h.

#define SH_NODE_MATERIAL_EXT   118
#define SH_NODE_MATH   115

Definition at line 481 of file BKE_node.h.

#define SH_NODE_MIX_RGB   103

Definition at line 471 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_mix_rgb().

#define SH_NODE_MIX_SHADER   128

Definition at line 495 of file BKE_node.h.

Referenced by register_node_type_sh_mix_shader().

#define SH_NODE_NEW_GEOMETRY   141

Definition at line 506 of file BKE_node.h.

Referenced by register_node_type_sh_geometry().

#define SH_NODE_NORMAL   107

Definition at line 475 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_normal().

#define SH_NODE_OUTPUT   1
#define SH_NODE_OUTPUT_LAMP   126

Definition at line 493 of file BKE_node.h.

Referenced by ED_node_shader_default(), and register_node_type_sh_output_lamp().

#define SH_NODE_OUTPUT_MATERIAL   124

Definition at line 491 of file BKE_node.h.

#define SH_NODE_OUTPUT_TEXTURE   158

Definition at line 519 of file BKE_node.h.

#define SH_NODE_OUTPUT_WORLD   125

Definition at line 492 of file BKE_node.h.

#define SH_NODE_RGB   101

Definition at line 469 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_rgb().

#define SH_NODE_RGBTOBW   105

Definition at line 473 of file BKE_node.h.

Referenced by register_node_type_sh_rgbtobw().

#define SH_NODE_SEPRGB   120

Definition at line 486 of file BKE_node.h.

Referenced by register_node_type_sh_seprgb().

#define SH_NODE_SQUEEZE   117

Definition at line 483 of file BKE_node.h.

#define SH_NODE_TEX_CHECKER   164

Definition at line 525 of file BKE_node.h.

#define SH_NODE_TEX_COORD   155

Definition at line 516 of file BKE_node.h.

Referenced by register_node_type_sh_tex_coord().

#define SH_NODE_TEX_ENVIRONMENT   157

Definition at line 518 of file BKE_node.h.

#define SH_NODE_TEX_GRADIENT   146

Definition at line 510 of file BKE_node.h.

#define SH_NODE_TEX_IMAGE   143
#define SH_NODE_TEX_MAGIC   148

Definition at line 512 of file BKE_node.h.

#define SH_NODE_TEX_MUSGRAVE   152

Definition at line 515 of file BKE_node.h.

#define SH_NODE_TEX_NOISE   150

Definition at line 514 of file BKE_node.h.

Referenced by register_node_type_sh_tex_noise().

#define SH_NODE_TEX_SKY   145

Definition at line 509 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_tex_sky().

#define SH_NODE_TEX_VORONOI   147

Definition at line 511 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_tex_voronoi().

#define SH_NODE_TEX_WAVE   149

Definition at line 513 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_tex_wave().

#define SH_NODE_TEXTURE   106

Definition at line 474 of file BKE_node.h.

#define SH_NODE_VALTORGB   104

Definition at line 472 of file BKE_node.h.

#define SH_NODE_VALUE   102

Definition at line 470 of file BKE_node.h.

#define SH_NODE_VECT_MATH   116

Definition at line 482 of file BKE_node.h.

Referenced by node_shader_set_butfunc(), and register_node_type_sh_vect_math().

#define SH_NODE_VOLUME_ISOTROPIC   162

Definition at line 523 of file BKE_node.h.

Referenced by register_node_type_sh_volume_isotropic().

#define SH_NODE_VOLUME_TRANSPARENT   161

Definition at line 522 of file BKE_node.h.

#define SOCK_IN   1
#define SOCK_OUT   2
#define TEX_NODE_AT   423

Definition at line 712 of file BKE_node.h.

Referenced by register_node_type_tex_at().

#define TEX_NODE_BRICKS   404

Definition at line 693 of file BKE_node.h.

Referenced by node_texture_set_butfunc(), and register_node_type_tex_bricks().

#define TEX_NODE_CHECKER   402

Definition at line 691 of file BKE_node.h.

Referenced by ED_node_texture_default(), and register_node_type_tex_checker().

#define TEX_NODE_COMPOSE   419

Definition at line 708 of file BKE_node.h.

#define TEX_NODE_COORD   417

Definition at line 706 of file BKE_node.h.

#define TEX_NODE_CURVE_RGB   410
#define TEX_NODE_CURVE_TIME   413

Definition at line 702 of file BKE_node.h.

#define TEX_NODE_DECOMPOSE   420

Definition at line 709 of file BKE_node.h.

Referenced by register_node_type_tex_decompose().

#define TEX_NODE_DISTANCE   418

Definition at line 707 of file BKE_node.h.

Referenced by register_node_type_tex_distance().

#define TEX_NODE_HUE_SAT   412

Definition at line 701 of file BKE_node.h.

Referenced by register_node_type_tex_hue_sat().

#define TEX_NODE_IMAGE   409

Definition at line 698 of file BKE_node.h.

#define TEX_NODE_INVERT   411

Definition at line 700 of file BKE_node.h.

#define TEX_NODE_MATH   405

Definition at line 694 of file BKE_node.h.

#define TEX_NODE_MIX_RGB   406

Definition at line 695 of file BKE_node.h.

Referenced by node_texture_set_butfunc(), and register_node_type_tex_mix_rgb().

#define TEX_NODE_OUTPUT   401

Definition at line 690 of file BKE_node.h.

#define TEX_NODE_PROC   500

Definition at line 715 of file BKE_node.h.

Referenced by node_texture_set_butfunc(), and ProcDef().

#define TEX_NODE_PROC_MAX   600

Definition at line 716 of file BKE_node.h.

Referenced by node_texture_set_butfunc().

#define TEX_NODE_RGBTOBW   407

Definition at line 696 of file BKE_node.h.

#define TEX_NODE_ROTATE   414

Definition at line 703 of file BKE_node.h.

Referenced by register_node_type_tex_rotate().

#define TEX_NODE_SCALE   422

Definition at line 711 of file BKE_node.h.

Referenced by register_node_type_tex_scale().

#define TEX_NODE_TEXTURE   403

Definition at line 692 of file BKE_node.h.

#define TEX_NODE_TRANSLATE   416

Definition at line 705 of file BKE_node.h.

Referenced by register_node_type_tex_translate().

#define TEX_NODE_VALTONOR   421

Definition at line 710 of file BKE_node.h.

#define TEX_NODE_VALTORGB   408

Definition at line 697 of file BKE_node.h.

Referenced by node_texture_set_butfunc(), and register_node_type_tex_valtorgb().

#define TEX_NODE_VIEWER   415

Definition at line 704 of file BKE_node.h.


Typedef Documentation

typedef void(* bNodeClassCallback)(void *calldata, int nclass, const char *name)

Definition at line 259 of file BKE_node.h.

Compact definition of a node socket. Can be used to quickly define a list of static sockets for a node, which are added to each new node of that type.

Deprecated:
New nodes should add default sockets in the initialization function instead. This struct is mostly kept for old nodes and should be removed some time.

Defines a socket type. Defines the appearance and behavior of a socket in the UI.

typedef struct bNodeTemplate bNodeTemplate

Template for creating a node. Stored required parameters to make a new node of a specific type.

typedef void(* bNodeTreeCallback)(void *calldata, struct ID *owner_id, struct bNodeTree *ntree)

Definition at line 258 of file BKE_node.h.

typedef struct bNodeTreeType bNodeTreeType
typedef struct bNodeType bNodeType

Defines a node type. Initial attributes and constants for a node as well as callback functions implementing the node behavior.

typedef void(* NodeSocketButtonFunction)(const struct bContext *C, struct uiBlock *block, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *sock, const char *name, int x, int y, int width)

Definition at line 89 of file BKE_node.h.


Function Documentation

void clear_scene_in_nodes ( struct Main bmain,
struct Scene sce 
)
void free_nodesystem ( void  )

Definition at line 2035 of file node.c.

References free_typeinfos(), NTREE_COMPOSIT, NTREE_SHADER, NTREE_TEXTURE, and ntreeGetType().

Referenced by free_blender(), and main().

void init_nodesystem ( void  )
struct bNodeSocket* node_group_add_socket ( struct bNodeTree ngroup,
const char *  name,
int  type,
int  in_out 
) [read]
void node_group_expose_all_sockets ( struct bNodeTree ngroup)
struct bNodeSocket* node_group_expose_socket ( struct bNodeTree ngroup,
struct bNodeSocket sock,
int  in_out 
) [read]
struct bNodeSocket* node_group_find_input ( struct bNode gnode,
struct bNodeSocket gsock 
) [read]

Definition at line 63 of file node_common.c.

References ListBase::first, bNodeSocket::groupsock, bNode::inputs, bNodeSocket::next, and NULL.

Referenced by node_group_ungroup().

struct bNodeSocket* node_group_find_output ( struct bNode gnode,
struct bNodeSocket gsock 
) [read]
struct bNode* node_group_make_from_selected ( struct bNodeTree ntree) [read]
void node_group_remove_socket ( struct bNodeTree ngroup,
struct bNodeSocket gsock,
int  in_out 
)
int node_group_ungroup ( struct bNodeTree ntree,
struct bNode gnode 
)
void node_type_base ( struct bNodeTreeType ttype,
struct bNodeType ntype,
int  type,
const char *  name,
short  nclass,
short  flag 
)

Definition at line 1636 of file node.c.

References BLI_strncpy(), bNodeType::flag, FLT_MAX, bNodeTreeType::gpumutefunc, bNodeType::gpumutefunc, bNodeType::height, bNodeType::maxheight, bNodeType::maxwidth, bNodeType::minheight, bNodeType::minwidth, bNodeTreeType::mutefunc, bNodeType::mutefunc, bNodeTreeType::mutelinksfunc, bNodeType::mutelinksfunc, bNodeType::name, bNodeType::nclass, bNodeTemplate::type, bNodeType::type, and bNodeType::width.

Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_brightcontrast(), 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_combhsva(), register_node_type_cmp_combrgba(), register_node_type_cmp_combycca(), register_node_type_cmp_combyuva(), register_node_type_cmp_composite(), register_node_type_cmp_crop(), register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_dilateerode(), register_node_type_cmp_displace(), register_node_type_cmp_distance_matte(), register_node_type_cmp_doubleedgemask(), register_node_type_cmp_filter(), register_node_type_cmp_flip(), register_node_type_cmp_gamma(), register_node_type_cmp_glare(), register_node_type_cmp_group(), register_node_type_cmp_hue_sat(), register_node_type_cmp_huecorrect(), register_node_type_cmp_idmask(), register_node_type_cmp_image(), register_node_type_cmp_invert(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_mapuv(), register_node_type_cmp_math(), register_node_type_cmp_mix_rgb(), register_node_type_cmp_movieclip(), register_node_type_cmp_moviedistortion(), register_node_type_cmp_normal(), register_node_type_cmp_normalize(), register_node_type_cmp_output_file(), register_node_type_cmp_premulkey(), register_node_type_cmp_rgb(), register_node_type_cmp_rgbtobw(), register_node_type_cmp_rlayers(), register_node_type_cmp_rotate(), register_node_type_cmp_scale(), register_node_type_cmp_sephsva(), register_node_type_cmp_seprgba(), register_node_type_cmp_sepycca(), register_node_type_cmp_sepyuva(), register_node_type_cmp_setalpha(), register_node_type_cmp_splitviewer(), register_node_type_cmp_stabilize2d(), register_node_type_cmp_texture(), register_node_type_cmp_tonemap(), register_node_type_cmp_transform(), register_node_type_cmp_translate(), register_node_type_cmp_valtorgb(), register_node_type_cmp_value(), register_node_type_cmp_vecblur(), register_node_type_cmp_view_levels(), register_node_type_cmp_viewer(), register_node_type_cmp_zcombine(), register_node_type_frame(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_dynamic(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_group(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_at(), register_node_type_tex_bricks(), register_node_type_tex_checker(), register_node_type_tex_compose(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_decompose(), register_node_type_tex_distance(), register_node_type_tex_group(), register_node_type_tex_hue_sat(), register_node_type_tex_image(), register_node_type_tex_invert(), register_node_type_tex_math(), register_node_type_tex_mix_rgb(), register_node_type_tex_output(), register_node_type_tex_rgbtobw(), register_node_type_tex_rotate(), register_node_type_tex_scale(), register_node_type_tex_texture(), register_node_type_tex_translate(), register_node_type_tex_valtonor(), register_node_type_tex_valtorgb(), and register_node_type_tex_viewer().

void node_type_compatibility ( struct bNodeType ntype,
short  compatibility 
)

Definition at line 1772 of file node.c.

References bNodeType::compatibility.

Referenced by register_node_type_frame(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_dynamic(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), and register_node_type_sh_volume_transparent().

void node_type_exec ( struct bNodeType ntype,
void(*)(void *data, struct bNode *, struct bNodeStack **, struct bNodeStack **)  execfunc 
)

Definition at line 1731 of file node.c.

References bNodeType::execfunc.

Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_brightcontrast(), 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_combhsva(), register_node_type_cmp_combrgba(), register_node_type_cmp_combycca(), register_node_type_cmp_combyuva(), register_node_type_cmp_composite(), register_node_type_cmp_crop(), register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_dilateerode(), register_node_type_cmp_displace(), register_node_type_cmp_distance_matte(), register_node_type_cmp_doubleedgemask(), register_node_type_cmp_filter(), register_node_type_cmp_flip(), register_node_type_cmp_gamma(), register_node_type_cmp_glare(), register_node_type_cmp_hue_sat(), register_node_type_cmp_huecorrect(), register_node_type_cmp_idmask(), register_node_type_cmp_image(), register_node_type_cmp_invert(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_mapuv(), register_node_type_cmp_math(), register_node_type_cmp_mix_rgb(), register_node_type_cmp_movieclip(), register_node_type_cmp_moviedistortion(), register_node_type_cmp_normal(), register_node_type_cmp_normalize(), register_node_type_cmp_output_file(), register_node_type_cmp_premulkey(), register_node_type_cmp_rgb(), register_node_type_cmp_rgbtobw(), register_node_type_cmp_rlayers(), register_node_type_cmp_rotate(), register_node_type_cmp_scale(), register_node_type_cmp_sephsva(), register_node_type_cmp_seprgba(), register_node_type_cmp_sepycca(), register_node_type_cmp_sepyuva(), register_node_type_cmp_setalpha(), register_node_type_cmp_splitviewer(), register_node_type_cmp_stabilize2d(), register_node_type_cmp_texture(), register_node_type_cmp_tonemap(), register_node_type_cmp_transform(), register_node_type_cmp_translate(), register_node_type_cmp_valtorgb(), register_node_type_cmp_value(), register_node_type_cmp_vecblur(), register_node_type_cmp_view_levels(), register_node_type_cmp_viewer(), register_node_type_cmp_zcombine(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_at(), register_node_type_tex_bricks(), register_node_type_tex_checker(), register_node_type_tex_compose(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_decompose(), register_node_type_tex_distance(), register_node_type_tex_hue_sat(), register_node_type_tex_image(), register_node_type_tex_invert(), register_node_type_tex_math(), register_node_type_tex_mix_rgb(), register_node_type_tex_output(), register_node_type_tex_rgbtobw(), register_node_type_tex_rotate(), register_node_type_tex_scale(), register_node_type_tex_texture(), register_node_type_tex_translate(), register_node_type_tex_valtonor(), register_node_type_tex_valtorgb(), and register_node_type_tex_viewer().

void node_type_exec_new ( struct bNodeType ntype,
void *(*)(struct bNode *node)  initexecfunc,
void(*)(struct bNode *node, void *nodedata)  freeexecfunc,
void(*)(void *data, int thread, struct bNode *, void *nodedata, struct bNodeStack **, struct bNodeStack **)  newexecfunc 
)
void node_type_gpu ( struct bNodeType ntype,
int(*)(struct GPUMaterial *mat, struct bNode *node, struct GPUNodeStack *in, struct GPUNodeStack *out)  gpufunc 
)

Definition at line 1756 of file node.c.

References bNodeType::gpufunc.

Referenced by register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), and register_node_type_sh_volume_transparent().

void node_type_gpu_ext ( struct bNodeType ntype,
int(*)(struct GPUMaterial *mat, struct bNode *node, void *nodedata, struct GPUNodeStack *in, struct GPUNodeStack *out)  gpuextfunc 
)

Definition at line 1761 of file node.c.

References bNodeType::gpuextfunc.

Referenced by register_node_type_sh_group().

void node_type_gpu_mute ( struct bNodeType ntype,
int(*)(struct GPUMaterial *, struct bNode *, void *, struct GPUNodeStack *, struct GPUNodeStack *)  gpumutefunc 
)
void node_type_group_edit ( struct bNodeType ntype,
struct bNodeTree *(*)(struct bNode *node)  group_edit_get,
struct bNodeTree *(*)(struct bNode *node, int edit)  group_edit_set,
void(*)(struct bNode *node)  group_edit_clear 
)
void node_type_init ( struct bNodeType ntype,
void(*)(struct bNodeTree *ntree, struct bNode *node, struct bNodeTemplate *ntemp)  initfunc 
)

Definition at line 1667 of file node.c.

References bNodeType::initfunc.

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_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), 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_group(), register_node_type_cmp_hue_sat(), register_node_type_cmp_huecorrect(), register_node_type_cmp_image(), register_node_type_cmp_invert(), 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_normal(), register_node_type_cmp_output_file(), register_node_type_cmp_rgb(), register_node_type_cmp_rotate(), register_node_type_cmp_splitviewer(), register_node_type_cmp_tonemap(), register_node_type_cmp_valtorgb(), register_node_type_cmp_value(), register_node_type_cmp_vecblur(), register_node_type_cmp_view_levels(), register_node_type_cmp_viewer(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_group(), register_node_type_sh_holdout(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_sh_value(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_bricks(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_group(), register_node_type_tex_image(), register_node_type_tex_output(), and register_node_type_tex_valtorgb().

void node_type_label ( struct bNodeType ntype,
const char *(*)(struct bNode *)  labelfunc 
)
void node_type_mute ( struct bNodeType ntype,
void(*)(void *data, int thread, struct bNode *, void *nodedata, struct bNodeStack **, struct bNodeStack **)  mutefunc,
ListBase(*)(struct bNodeTree *, struct bNode *, struct bNodeStack **, struct bNodeStack **, struct GPUNodeStack *, struct GPUNodeStack *)  mutelinksfunc 
)
void node_type_size ( struct bNodeType ntype,
int  width,
int  minwidth,
int  maxwidth 
)

Definition at line 1677 of file node.c.

References FLT_MAX, bNodeType::maxwidth, bNodeType::minwidth, and bNodeType::width.

Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_brightcontrast(), 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_combhsva(), register_node_type_cmp_combrgba(), register_node_type_cmp_combycca(), register_node_type_cmp_combyuva(), register_node_type_cmp_composite(), register_node_type_cmp_crop(), register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_dilateerode(), register_node_type_cmp_displace(), register_node_type_cmp_distance_matte(), register_node_type_cmp_doubleedgemask(), register_node_type_cmp_filter(), register_node_type_cmp_flip(), register_node_type_cmp_gamma(), register_node_type_cmp_glare(), register_node_type_cmp_group(), register_node_type_cmp_hue_sat(), register_node_type_cmp_huecorrect(), register_node_type_cmp_idmask(), register_node_type_cmp_image(), register_node_type_cmp_invert(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_mapuv(), register_node_type_cmp_math(), register_node_type_cmp_mix_rgb(), register_node_type_cmp_movieclip(), register_node_type_cmp_moviedistortion(), register_node_type_cmp_normal(), register_node_type_cmp_normalize(), register_node_type_cmp_output_file(), register_node_type_cmp_premulkey(), register_node_type_cmp_rgb(), register_node_type_cmp_rgbtobw(), register_node_type_cmp_rlayers(), register_node_type_cmp_rotate(), register_node_type_cmp_scale(), register_node_type_cmp_sephsva(), register_node_type_cmp_seprgba(), register_node_type_cmp_sepycca(), register_node_type_cmp_sepyuva(), register_node_type_cmp_setalpha(), register_node_type_cmp_splitviewer(), register_node_type_cmp_stabilize2d(), register_node_type_cmp_texture(), register_node_type_cmp_tonemap(), register_node_type_cmp_transform(), register_node_type_cmp_translate(), register_node_type_cmp_valtorgb(), register_node_type_cmp_value(), register_node_type_cmp_vecblur(), register_node_type_cmp_view_levels(), register_node_type_cmp_viewer(), register_node_type_cmp_zcombine(), register_node_type_frame(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_group(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_at(), register_node_type_tex_bricks(), register_node_type_tex_checker(), register_node_type_tex_compose(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_decompose(), register_node_type_tex_distance(), register_node_type_tex_group(), register_node_type_tex_hue_sat(), register_node_type_tex_image(), register_node_type_tex_invert(), register_node_type_tex_math(), register_node_type_tex_mix_rgb(), register_node_type_tex_output(), register_node_type_tex_rgbtobw(), register_node_type_tex_rotate(), register_node_type_tex_scale(), register_node_type_tex_texture(), register_node_type_tex_translate(), register_node_type_tex_valtonor(), register_node_type_tex_valtorgb(), and register_node_type_tex_viewer().

void node_type_socket_templates ( struct bNodeType ntype,
struct bNodeSocketTemplate inputs,
struct bNodeSocketTemplate outputs 
)

Definition at line 1661 of file node.c.

References inputs, bNodeType::inputs, outputs, and bNodeType::outputs.

Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_brightcontrast(), 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_combhsva(), register_node_type_cmp_combrgba(), register_node_type_cmp_combycca(), register_node_type_cmp_combyuva(), register_node_type_cmp_composite(), register_node_type_cmp_crop(), register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_dilateerode(), register_node_type_cmp_displace(), register_node_type_cmp_distance_matte(), register_node_type_cmp_doubleedgemask(), register_node_type_cmp_filter(), register_node_type_cmp_flip(), register_node_type_cmp_gamma(), register_node_type_cmp_glare(), register_node_type_cmp_group(), register_node_type_cmp_hue_sat(), register_node_type_cmp_huecorrect(), register_node_type_cmp_idmask(), register_node_type_cmp_image(), register_node_type_cmp_invert(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_mapuv(), register_node_type_cmp_math(), register_node_type_cmp_mix_rgb(), register_node_type_cmp_movieclip(), register_node_type_cmp_moviedistortion(), register_node_type_cmp_normal(), register_node_type_cmp_normalize(), register_node_type_cmp_output_file(), register_node_type_cmp_premulkey(), register_node_type_cmp_rgb(), register_node_type_cmp_rgbtobw(), register_node_type_cmp_rlayers(), register_node_type_cmp_rotate(), register_node_type_cmp_scale(), register_node_type_cmp_sephsva(), register_node_type_cmp_seprgba(), register_node_type_cmp_sepycca(), register_node_type_cmp_sepyuva(), register_node_type_cmp_setalpha(), register_node_type_cmp_splitviewer(), register_node_type_cmp_stabilize2d(), register_node_type_cmp_texture(), register_node_type_cmp_tonemap(), register_node_type_cmp_transform(), register_node_type_cmp_translate(), register_node_type_cmp_valtorgb(), register_node_type_cmp_value(), register_node_type_cmp_vecblur(), register_node_type_cmp_view_levels(), register_node_type_cmp_viewer(), register_node_type_cmp_zcombine(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_group(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_at(), register_node_type_tex_bricks(), register_node_type_tex_checker(), register_node_type_tex_compose(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_decompose(), register_node_type_tex_distance(), register_node_type_tex_group(), register_node_type_tex_hue_sat(), register_node_type_tex_image(), register_node_type_tex_invert(), register_node_type_tex_math(), register_node_type_tex_mix_rgb(), register_node_type_tex_output(), register_node_type_tex_rgbtobw(), register_node_type_tex_rotate(), register_node_type_tex_scale(), register_node_type_tex_texture(), register_node_type_tex_translate(), register_node_type_tex_valtonor(), register_node_type_tex_valtorgb(), and register_node_type_tex_viewer().

void node_type_storage ( struct bNodeType ntype,
const char *  storagename,
void(*)(struct bNode *)  freestoragefunc,
void(*)(struct bNode *, struct bNode *)  copystoragefunc 
)

Definition at line 1687 of file node.c.

References BLI_strncpy(), bNodeType::copystoragefunc, bNodeType::freestoragefunc, and bNodeType::storagename.

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_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), 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_huecorrect(), 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_moviedistortion(), 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_view_levels(), register_node_type_cmp_viewer(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_holdout(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_math(), register_node_type_sh_mix_shader(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_distance(), register_node_type_tex_image(), register_node_type_tex_math(), register_node_type_tex_output(), and register_node_type_tex_valtorgb().

void node_type_template ( struct bNodeType ntype,
struct bNodeTemplate(*)(struct bNode *)  templatefunc 
)
void node_type_tree ( struct bNodeType ntype,
void(*)(struct bNodeTree *)  inittreefunc,
void(*)(struct bNodeTree *)  updatetreefunc 
)

Definition at line 1715 of file node.c.

References bNodeType::inittreefunc, and bNodeType::updatetreefunc.

void node_type_update ( struct bNodeType ntype,
void(*)(struct bNodeTree *ntree, struct bNode *node)  updatefunc,
void(*)(struct bNodeTree *ntree, struct bNode *node, struct ID *id)  verifyfunc 
)
void node_type_valid ( struct bNodeType ntype,
int(*)(struct bNodeTree *ntree, struct bNodeTemplate *ntemp)  validfunc 
)
struct bNodeLink* nodeAddLink ( struct bNodeTree ntree,
struct bNode fromnode,
struct bNodeSocket fromsock,
struct bNode tonode,
struct bNodeSocket tosock 
) [read]
struct bNode* nodeAddNode ( struct bNodeTree ntree,
struct bNodeTemplate ntemp 
) [read]
struct bNodeSocket* nodeAddSocket ( struct bNodeTree ntree,
struct bNode node,
int  in_out,
const char *  name,
int  type 
) [read]
void nodeAddToPreview ( struct bNode ,
float *  ,
int  ,
int  ,
int   
)
void nodeAttachNode ( struct bNode node,
struct bNode parent 
)

Definition at line 562 of file node.c.

References bNode::locx, bNode::locy, nodeSpaceCoords(), and bNode::parent.

Referenced by node_frame_attach_nodes().

void nodeClearActiveID ( struct bNodeTree ntree,
short  idtype 
)

Definition at line 1293 of file node.c.

References ListBase::first, bNode::flag, GS, bNode::id, ID::name, bNode::next, NODE_ACTIVE_ID, bNodeTree::nodes, and NULL.

Referenced by ED_node_set_active().

struct bNode* nodeCopyNode ( struct bNodeTree ntree,
struct bNode node 
) [read]
int nodeCountSocketLinks ( struct bNodeTree ntree,
struct bNodeSocket sock 
)
void nodeDetachNode ( struct bNode node)
int nodeDynamicUnlinkText ( struct ID txtid)
struct bNodeLink* nodeFindLink ( struct bNodeTree ntree,
struct bNodeSocket from,
struct bNodeSocket to 
) [read]
int nodeFindNode ( struct bNodeTree ntree,
struct bNodeSocket sock,
struct bNode **  nodep,
int *  sockindex,
int *  in_out 
)
struct bNode* nodeFindNodebyName ( struct bNodeTree ntree,
const char *  name 
) [read]

Definition at line 252 of file node.c.

References BLI_findstring(), and bNodeTree::nodes.

Referenced by animchan_sync_fcurve(), and skip_fcurve_selected_data().

void nodeFreeNode ( struct bNodeTree ntree,
struct bNode node 
)
void nodeFreePreview ( struct bNode node)

Definition at line 706 of file node.c.

References MEM_freeN(), NULL, bNode::preview, and bNodePreview::rect.

Referenced by local_sync(), nodeFreeNode(), and ntreeLocalMerge().

struct bNode* nodeGetActive ( struct bNodeTree ntree) [read]
struct bNode* nodeGetActiveID ( struct bNodeTree ntree,
short  idtype 
) [read]
struct bNode* nodeGetActiveTexture ( struct bNodeTree ntree) [read]
void nodeGroupEditClear ( struct bNode node)

Definition at line 1619 of file node.c.

References bNodeType::group_edit_clear, and bNode::typeinfo.

Referenced by node_group_edit_clear(), and snode_make_group_editable().

struct bNodeTree* nodeGroupEditGet ( struct bNode node) [read]
struct bNodeTree* nodeGroupEditSet ( struct bNode node,
int  edit 
) [read]
struct bNodeSocket* nodeInsertSocket ( struct bNodeTree ntree,
struct bNode node,
int  in_out,
struct bNodeSocket next_sock,
const char *  name,
int  type 
) [read]
const char* nodeLabel ( struct bNode node)
void nodeMakeDynamicType ( struct bNode node)
struct bNodeTemplate nodeMakeTemplate ( struct bNode node) [read]

Definition at line 1625 of file node.c.

References bNodeTemplate::type.

Referenced by node_group_valid().

void nodeRegisterType ( struct bNodeTreeType ttype,
struct bNodeType ntype 
)

Definition at line 1788 of file node.c.

References BLI_addtail(), is_nodetype_registered(), bNodeTreeType::node_types, NULL, and bNodeType::type.

Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_brightcontrast(), 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_combhsva(), register_node_type_cmp_combrgba(), register_node_type_cmp_combycca(), register_node_type_cmp_combyuva(), register_node_type_cmp_composite(), register_node_type_cmp_crop(), register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_dilateerode(), register_node_type_cmp_displace(), register_node_type_cmp_distance_matte(), register_node_type_cmp_doubleedgemask(), register_node_type_cmp_filter(), register_node_type_cmp_flip(), register_node_type_cmp_gamma(), register_node_type_cmp_glare(), register_node_type_cmp_group(), register_node_type_cmp_hue_sat(), register_node_type_cmp_huecorrect(), register_node_type_cmp_idmask(), register_node_type_cmp_image(), register_node_type_cmp_invert(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_mapuv(), register_node_type_cmp_math(), register_node_type_cmp_mix_rgb(), register_node_type_cmp_movieclip(), register_node_type_cmp_moviedistortion(), register_node_type_cmp_normal(), register_node_type_cmp_normalize(), register_node_type_cmp_output_file(), register_node_type_cmp_premulkey(), register_node_type_cmp_rgb(), register_node_type_cmp_rgbtobw(), register_node_type_cmp_rlayers(), register_node_type_cmp_rotate(), register_node_type_cmp_scale(), register_node_type_cmp_sephsva(), register_node_type_cmp_seprgba(), register_node_type_cmp_sepycca(), register_node_type_cmp_sepyuva(), register_node_type_cmp_setalpha(), register_node_type_cmp_splitviewer(), register_node_type_cmp_stabilize2d(), register_node_type_cmp_texture(), register_node_type_cmp_tonemap(), register_node_type_cmp_transform(), register_node_type_cmp_translate(), register_node_type_cmp_valtorgb(), register_node_type_cmp_value(), register_node_type_cmp_vecblur(), register_node_type_cmp_view_levels(), register_node_type_cmp_viewer(), register_node_type_cmp_zcombine(), register_node_type_frame(), register_node_type_sh_add_shader(), register_node_type_sh_attribute(), register_node_type_sh_background(), register_node_type_sh_bsdf_anisotropic(), register_node_type_sh_bsdf_diffuse(), register_node_type_sh_bsdf_glass(), register_node_type_sh_bsdf_glossy(), register_node_type_sh_bsdf_translucent(), register_node_type_sh_bsdf_transparent(), register_node_type_sh_bsdf_velvet(), register_node_type_sh_camera(), register_node_type_sh_combrgb(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_sh_dynamic(), register_node_type_sh_emission(), register_node_type_sh_fresnel(), register_node_type_sh_gamma(), register_node_type_sh_geom(), register_node_type_sh_geometry(), register_node_type_sh_group(), register_node_type_sh_holdout(), register_node_type_sh_hue_sat(), register_node_type_sh_invert(), register_node_type_sh_layer_weight(), register_node_type_sh_light_path(), register_node_type_sh_mapping(), register_node_type_sh_material(), register_node_type_sh_material_ext(), register_node_type_sh_math(), register_node_type_sh_mix_rgb(), register_node_type_sh_mix_shader(), register_node_type_sh_normal(), register_node_type_sh_output(), register_node_type_sh_output_lamp(), register_node_type_sh_output_material(), register_node_type_sh_output_world(), register_node_type_sh_rgb(), register_node_type_sh_rgbtobw(), register_node_type_sh_seprgb(), register_node_type_sh_squeeze(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_coord(), 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_texture(), register_node_type_sh_valtorgb(), register_node_type_sh_value(), register_node_type_sh_vect_math(), register_node_type_sh_volume_isotropic(), register_node_type_sh_volume_transparent(), register_node_type_tex_at(), register_node_type_tex_bricks(), register_node_type_tex_checker(), register_node_type_tex_compose(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_decompose(), register_node_type_tex_distance(), register_node_type_tex_group(), register_node_type_tex_hue_sat(), register_node_type_tex_image(), register_node_type_tex_invert(), register_node_type_tex_math(), register_node_type_tex_mix_rgb(), register_node_type_tex_output(), register_node_type_tex_rgbtobw(), register_node_type_tex_rotate(), register_node_type_tex_scale(), register_node_type_tex_texture(), register_node_type_tex_translate(), register_node_type_tex_valtonor(), register_node_type_tex_valtorgb(), and register_node_type_tex_viewer().

void nodeRemLink ( struct bNodeTree ntree,
struct bNodeLink link 
)
void nodeRemoveAllSockets ( struct bNodeTree ntree,
struct bNode node 
)
void nodeRemoveSocket ( struct bNodeTree ntree,
struct bNode node,
struct bNodeSocket sock 
)
void nodeRemSocketLinks ( struct bNodeTree ntree,
struct bNodeSocket sock 
)
void nodeSetActive ( struct bNodeTree ntree,
struct bNode node 
)
int nodeSetActiveID ( struct bNodeTree ntree,
short  idtype,
struct ID id 
)
void nodeShaderSynchronizeID ( struct bNode node,
int  copyto 
)
int nodeSocketIsHidden ( struct bNodeSocket sock)
void nodeSpaceCoords ( struct bNode node,
float *  locx,
float *  locy 
)
void nodeUniqueName ( struct bNodeTree ntree,
struct bNode node 
)

Definition at line 318 of file node.c.

References BLI_uniquename(), bNode::name, bNodeSocket::name, and bNodeTree::nodes.

Referenced by do_versions(), nodeAddNode(), and nodeCopyNode().

void nodeUnlinkNode ( struct bNodeTree ntree,
struct bNode node 
)
void nodeUpdate ( struct bNodeTree ntree,
struct bNode node 
)
int nodeUpdateID ( struct bNodeTree ntree,
struct ID id 
)
int nodeValid ( struct bNodeTree ntree,
struct bNodeTemplate ntemp 
)

Definition at line 1578 of file node.c.

References node_get_type(), bNodeTemplate::type, and bNodeType::validfunc.

Referenced by node_group_valid(), and nodeAddNode().

struct bNodeTree* ntreeAddTree ( const char *  name,
int  type,
int  nodetype 
) [read]
void ntreeClearPreview ( struct bNodeTree ntree)
struct bNodeTreeExec* ntreeCompositBeginExecTree ( struct bNodeTree ntree,
int  use_tree_data 
) [read]
void ntreeCompositClearTags ( struct bNodeTree ntree)
void ntreeCompositEndExecTree ( struct bNodeTreeExec exec,
int  use_tree_data 
)
void ntreeCompositExecTree ( struct bNodeTree ntree,
struct RenderData rd,
int  do_previews 
)
void ntreeCompositForceHidden ( struct bNodeTree ntree,
struct Scene scene 
)
int ntreeCompositTagAnimated ( struct bNodeTree ntree)
void ntreeCompositTagGenerators ( struct bNodeTree ntree)
void ntreeCompositTagRender ( struct Scene sce)
struct bNodeTree* ntreeCopyTree ( struct bNodeTree ntree) [read]
void ntreeFreeCache ( struct bNodeTree ntree)
void ntreeFreeTree ( struct bNodeTree ntree)
void ntreeGetDependencyList ( struct bNodeTree ntree,
struct bNode ***  deplist,
int *  totnodes 
)
struct bNodeType* ntreeGetNodeType ( struct bNodeTree ntree) [read]

Definition at line 108 of file node.c.

References node_get_type(), and bNodeTree::nodetype.

struct bNodeSocketType* ntreeGetSocketType ( int  type) [read]
struct bNodeTreeType* ntreeGetType ( int  type) [read]
void ntreeGPUMaterialNodes ( struct bNodeTree ntree,
struct GPUMaterial mat 
)
int ntreeHasType ( struct bNodeTree ntree,
int  type 
)

Definition at line 1189 of file node.c.

References ListBase::first, bNode::next, bNodeTree::nodes, and bNode::type.

Referenced by setExecutableNodes().

void ntreeInitPreview ( struct bNodeTree ,
int  xsize,
int  ysize 
)
void ntreeInitTypes ( struct bNodeTree ntree)
struct bNodeTree* ntreeLocalize ( struct bNodeTree ntree) [read]
void ntreeLocalMerge ( struct bNodeTree localtree,
struct bNodeTree ntree 
)
void ntreeLocalSync ( struct bNodeTree localtree,
struct bNodeTree ntree 
)

Definition at line 1154 of file node.c.

References bNodeTreeType::local_sync, ntreeGetType(), and bNodeTree::type.

Referenced by compo_updatejob(), and shader_preview_updatejob().

void ntreeMakeLocal ( struct bNodeTree ntree)
int ntreeNodeExists ( struct bNodeTree ntree,
struct bNode testnode 
)

Definition at line 1082 of file node.c.

References ListBase::first, bNode::next, and bNodeTree::nodes.

Referenced by local_merge(), local_sync(), and ntreeLocalMerge().

int ntreeOutputExists ( struct bNode node,
struct bNodeSocket testsock 
)

Definition at line 1091 of file node.c.

References ListBase::first, bNodeSocket::next, and bNode::outputs.

Referenced by local_merge().

void ntreeSetOutput ( struct bNodeTree ntree)
struct bNodeTreeExec* ntreeShaderBeginExecTree ( struct bNodeTree ntree,
int  use_tree_data 
) [read]
void ntreeShaderEndExecTree ( struct bNodeTreeExec exec,
int  use_tree_data 
)
void ntreeShaderExecTree ( struct bNodeTree ntree,
struct ShadeInput shi,
struct ShadeResult shr 
)
void ntreeShaderGetTexcoMode ( struct bNodeTree ntree,
int  osa,
short *  texco,
int *  mode 
)
void ntreeSwitchID ( struct bNodeTree ntree,
struct ID sce_from,
struct ID sce_to 
)

Definition at line 692 of file node.c.

References ListBase::first, bNode::id, bNode::next, and bNodeTree::nodes.

Referenced by copy_scene().

struct bNodeTreeExec* ntreeTexBeginExecTree ( struct bNodeTree ntree,
int  use_tree_data 
) [read]
void ntreeTexCheckCyclics ( struct bNodeTree ntree)
void ntreeTexEndExecTree ( struct bNodeTreeExec exec,
int  use_tree_data 
)
int ntreeTexExecTree ( struct bNodeTree ntree,
struct TexResult target,
float *  coord,
float *  dxt,
float *  dyt,
int  osatex,
short  thread,
struct Tex tex,
short  which_output,
int  cfra,
int  preview,
struct ShadeInput shi,
struct MTex mtex 
)

Referenced by multitex(), and multitex_mtex().

char* ntreeTexOutputMenu ( struct bNodeTree ntree)
void ntreeTexSetPreviewFlag ( int  )
int ntreeTexTagAnimated ( struct bNodeTree ntree)
void ntreeUpdateTree ( struct bNodeTree ntree)
void ntreeVerifyNodes ( struct Main main,
struct ID id 
)
void register_node_type_frame ( struct bNodeTreeType ttype)
void set_node_shader_lamp_loop ( void(*)(struct ShadeInput *, struct ShadeResult *)  lamp_loop_func)

Variable Documentation

void(* node_shader_lamp_loop)(struct ShadeInput *, struct ShadeResult *)

Definition at line 159 of file node_shader_tree.c.

Referenced by node_shader_exec_material(), and set_node_shader_lamp_loop().