Blender V2.61 - r43446
Defines | Functions

node_texture_util.c File Reference

#include <assert.h>
#include "node_texture_util.h"

Go to the source code of this file.

Defines

#define PREV_RES   128

Functions

static void tex_call_delegate (TexDelegate *dg, float *out, TexParams *params, short thread)
static void tex_input (float *out, int sz, bNodeStack *in, TexParams *params, short thread)
void tex_input_vec (float *out, bNodeStack *in, TexParams *params, short thread)
void tex_input_rgba (float *out, bNodeStack *in, TexParams *params, short thread)
float tex_input_value (bNodeStack *in, TexParams *params, short thread)
void params_from_cdata (TexParams *out, TexCallData *in)
void tex_do_preview (bNode *node, float *co, float *col)
void tex_output (bNode *node, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata)
static void passonvalfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
static void passonvecfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
static void passoncolfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
void node_tex_pass_on (void *data, int UNUSED(thread), struct bNode *node, void *UNUSED(nodedata), struct bNodeStack **in, struct bNodeStack **out)
void ntreeTexCheckCyclics (struct bNodeTree *ntree)

Detailed Description

Definition in file node_texture_util.c.


Define Documentation

#define PREV_RES   128

Definition at line 52 of file node_texture_util.c.


Function Documentation

void node_tex_pass_on ( void *  data,
int   UNUSEDthread,
struct bNode node,
void *  UNUSEDnodedata,
struct bNodeStack **  in,
struct bNodeStack **  out 
)
void ntreeTexCheckCyclics ( struct bNodeTree ntree)
void params_from_cdata ( TexParams out,
TexCallData in 
)
static void passoncolfn ( float *  out,
TexParams p,
bNode node,
bNodeStack **  in,
short  thread 
) [static]
static void passonvalfn ( float *  out,
TexParams p,
bNode node,
bNodeStack **  in,
short  thread 
) [static]
static void passonvecfn ( float *  out,
TexParams p,
bNode node,
bNodeStack **  in,
short  thread 
) [static]
static void tex_call_delegate ( TexDelegate dg,
float *  out,
TexParams params,
short  thread 
) [static]
void tex_do_preview ( bNode node,
float *  co,
float *  col 
)
static void tex_input ( float *  out,
int  sz,
bNodeStack in,
TexParams params,
short  thread 
) [static]
void tex_input_rgba ( float *  out,
bNodeStack in,
TexParams params,
short  thread 
)
float tex_input_value ( bNodeStack in,
TexParams params,
short  thread 
)
void tex_input_vec ( float *  out,
bNodeStack in,
TexParams params,
short  thread 
)

Definition at line 76 of file node_texture_util.c.

References tex_input().

Referenced by colorfn(), exec(), passonvecfn(), tex_input_value(), and valuefn().

void tex_output ( bNode node,
bNodeStack **  in,
bNodeStack out,
TexFn  texfn,
TexCallData cdata 
)