Blender  V2.93
Functions | Variables
node_shader_vectTransform.c File Reference
#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_init_vect_transform (bNodeTree *UNUSED(ntree), bNode *node)
 
static void node_shader_exec_vect_transform (void *UNUSED(data), int UNUSED(thread), bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), bNodeStack **UNUSED(in), bNodeStack **UNUSED(out))
 
static GPUNodeLinkget_gpulink_matrix_from_to (short from, short to)
 
static int gpu_shader_vect_transform (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_vect_transform (void)
 

Variables

static bNodeSocketTemplate sh_node_vect_transform_in []
 
static bNodeSocketTemplate sh_node_vect_transform_out []
 

Function Documentation

◆ get_gpulink_matrix_from_to()

static GPUNodeLink* get_gpulink_matrix_from_to ( short  from,
short  to 
)
static

◆ gpu_shader_vect_transform()

static int gpu_shader_vect_transform ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

◆ node_shader_exec_vect_transform()

static void node_shader_exec_vect_transform ( void *  UNUSEDdata,
int   UNUSEDthread,
bNode UNUSEDnode,
bNodeExecData UNUSEDexecdata,
bNodeStack **  UNUSEDin,
bNodeStack **  UNUSEDout 
)
static

Definition at line 46 of file node_shader_vectTransform.c.

Referenced by register_node_type_sh_vect_transform().

◆ node_shader_init_vect_transform()

static void node_shader_init_vect_transform ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_sh_vect_transform()

void register_node_type_sh_vect_transform ( void  )

Variable Documentation

◆ sh_node_vect_transform_in

bNodeSocketTemplate sh_node_vect_transform_in[]
static
Initial value:
= {
{SOCK_VECTOR, N_("Vector"), 0.5f, 0.5f, 0.5f, 1.0f, -10000.0f, 10000.0f, PROP_NONE}, {-1, ""}}
#define N_(msgid)
@ SOCK_VECTOR
@ PROP_NONE
Definition: RNA_types.h:113

Definition at line 27 of file node_shader_vectTransform.c.

Referenced by register_node_type_sh_vect_transform().

◆ sh_node_vect_transform_out

bNodeSocketTemplate sh_node_vect_transform_out[]
static
Initial value:
= {
{SOCK_VECTOR, N_("Vector")},
{-1, ""},
}

Definition at line 30 of file node_shader_vectTransform.c.

Referenced by register_node_type_sh_vect_transform().