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

Go to the source code of this file.

Functions

static void node_shader_init_tex_magic (bNodeTree *UNUSED(ntree), bNode *node)
 
static int node_shader_gpu_tex_magic (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_tex_magic (void)
 

Variables

static bNodeSocketTemplate sh_node_tex_magic_in []
 
static bNodeSocketTemplate sh_node_tex_magic_out []
 

Function Documentation

◆ node_shader_gpu_tex_magic()

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

◆ node_shader_init_tex_magic()

static void node_shader_init_tex_magic ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_sh_tex_magic()

void register_node_type_sh_tex_magic ( void  )

Variable Documentation

◆ sh_node_tex_magic_in

bNodeSocketTemplate sh_node_tex_magic_in[]
static
Initial value:
= {
{SOCK_VECTOR, N_("Vector"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE},
{SOCK_FLOAT, N_("Scale"), 5.0f, 0.0f, 0.0f, 0.0f, -1000.0f, 1000.0f},
{SOCK_FLOAT, N_("Distortion"), 1.0f, 0.0f, 0.0f, 0.0f, -1000.0f, 1000.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_HIDE_VALUE
@ SOCK_VECTOR
@ SOCK_FLOAT
@ PROP_NONE
Definition: RNA_types.h:113

Definition at line 24 of file node_shader_tex_magic.c.

Referenced by register_node_type_sh_tex_magic().

◆ sh_node_tex_magic_out

bNodeSocketTemplate sh_node_tex_magic_out[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE, SOCK_NO_INTERNAL_LINK},
N_("Fac"),
0.0f,
0.0f,
0.0f,
0.0f,
0.0f,
1.0f,
{-1, ""},
}
@ SOCK_NO_INTERNAL_LINK
@ SOCK_RGBA
@ PROP_FACTOR
Definition: RNA_types.h:131

Definition at line 31 of file node_shader_tex_magic.c.

Referenced by register_node_type_sh_tex_magic().