Blender  V3.3
Functions | Variables
node_texture_scale.c File Reference
#include "node_texture_util.h"
#include <math.h>

Go to the source code of this file.

Functions

static void colorfn (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread)
 
static void exec (void *data, int UNUSED(thread), bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
 
void register_node_type_tex_scale (void)
 

Variables

static bNodeSocketTemplate inputs []
 
static bNodeSocketTemplate outputs []
 

Function Documentation

◆ colorfn()

static void colorfn ( float out,
TexParams p,
bNode UNUSEDnode,
bNodeStack **  in,
short  thread 
)
static

◆ exec()

static void exec ( void data,
int   UNUSEDthread,
bNode node,
bNodeExecData execdata,
bNodeStack **  in,
bNodeStack **  out 
)
static

Definition at line 41 of file node_texture_scale.c.

References colorfn(), data, node, usdtokens::out(), and tex_output().

Referenced by register_node_type_tex_scale().

◆ register_node_type_tex_scale()

void register_node_type_tex_scale ( void  )

Variable Documentation

◆ inputs

bNodeSocketTemplate inputs[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Scale"), 1.0f, 1.0f, 1.0f, 0.0f, -10.0f, 10.0f, PROP_XYZ},
{-1, ""},
}
@ SOCK_VECTOR
@ SOCK_RGBA
@ PROP_XYZ
Definition: RNA_types.h:162
#define N_(msgid)

Definition at line 11 of file node_texture_scale.c.

Referenced by register_node_type_tex_scale().

◆ outputs

bNodeSocketTemplate outputs[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color")},
{-1, ""},
}

Definition at line 17 of file node_texture_scale.c.

Referenced by register_node_type_tex_scale().