Blender  V2.93
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, short flag)
 
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 (bNodePreview *preview, const float coord[2], const float col[4], bool do_manage)
 
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_do_preview()

void tex_do_preview ( bNodePreview preview,
const float  coord[2],
const float  col[4],
bool  do_manage 
)

◆ tex_input()

static void tex_input ( float out,
int  sz,
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 87 of file node_texture_util.c.

References params, and tex_input().

Referenced by colorfn(), exec(), 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 42 of file node_texture_util.c.

References bNodeTree::idname, ntree, and STREQ.

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,
short  flag 
)

◆ tex_output()

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