Blender V4.3
node_texture_util.cc File Reference
#include "BKE_node_runtime.hh"
#include "NOD_texture.h"
#include "node_texture_util.hh"
#include "node_util.hh"

Go to the source code of this file.

Functions

bool tex_node_poll_default (const blender::bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
 
void tex_node_type_base (blender::bke::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 (bNodeTree *ntree)
 

Function Documentation

◆ ntreeTexCheckCyclics()

void ntreeTexCheckCyclics ( bNodeTree * ntree)

◆ params_from_cdata()

void params_from_cdata ( TexParams * out,
TexCallData * in )

Definition at line 100 of file node_texture_util.cc.

Referenced by exec(), and exec().

◆ tex_call_delegate()

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

Definition at line 51 of file node_texture_util.cc.

References TexDelegate::fn, TexDelegate::in, TexDelegate::node, params, and bNode::runtime.

Referenced by tex_input().

◆ tex_input()

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

◆ tex_input_rgba()

◆ tex_input_value()

◆ tex_input_vec()

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

Definition at line 71 of file node_texture_util.cc.

References params, and tex_input().

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

◆ tex_node_poll_default()

bool tex_node_poll_default ( const blender::bke::bNodeType * ntype,
const bNodeTree * ntree,
const char ** r_disabled_hint )

Definition at line 32 of file node_texture_util.cc.

References bNodeTree::idname, RPT_, and STREQ.

Referenced by register_node_type_tex_group(), and tex_node_type_base().

◆ tex_node_type_base()

◆ tex_output()