Blender  V3.3
Functions
node_texture_util.c File Reference
#include "node_texture_util.h"

Go to the source code of this file.

Functions

bool tex_node_poll_default (bNodeType *UNUSED(ntype), bNodeTree *ntree, const char **r_disabled_hint)
 
void tex_node_type_base (struct bNodeType *ntype, int type, const char *name, short nclass)
 
static void tex_call_delegate (TexDelegate *dg, float *out, TexParams *params, short thread)
 
static void tex_input (float *out, int num, 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_output (bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata)
 
void ntreeTexCheckCyclics (struct bNodeTree *ntree)
 

Function Documentation

◆ ntreeTexCheckCyclics()

void ntreeTexCheckCyclics ( struct bNodeTree ntree)

◆ params_from_cdata()

void params_from_cdata ( TexParams out,
TexCallData in 
)

◆ tex_call_delegate()

static void tex_call_delegate ( TexDelegate dg,
float out,
TexParams params,
short  thread 
)
static

◆ tex_input()

static void tex_input ( float out,
int  num,
bNodeStack in,
TexParams params,
short  thread 
)
static

◆ tex_input_rgba()

void tex_input_rgba ( float out,
bNodeStack in,
TexParams params,
short  thread 
)

◆ tex_input_value()

float tex_input_value ( bNodeStack in,
TexParams params,
short  thread 
)

◆ tex_input_vec()

void tex_input_vec ( float out,
bNodeStack in,
TexParams params,
short  thread 
)

Definition at line 65 of file node_texture_util.c.

References usdtokens::out(), params, and tex_input().

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

◆ tex_node_poll_default()

bool tex_node_poll_default ( bNodeType UNUSEDntype,
bNodeTree ntree,
const char **  r_disabled_hint 
)

Definition at line 26 of file node_texture_util.c.

References bNodeTree::idname, ntree, STREQ, and TIP_.

Referenced by register_node_type_tex_group(), and tex_node_type_base().

◆ tex_node_type_base()

void tex_node_type_base ( struct bNodeType ntype,
int  type,
const char *  name,
short  nclass 
)

◆ tex_output()

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