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

Go to the source code of this file.

Functions

static void node_shader_init_tex_white_noise (bNodeTree *UNUSED(ntree), bNode *node)
 
static int gpu_shader_tex_white_noise (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
static void node_shader_update_tex_white_noise (bNodeTree *UNUSED(ntree), bNode *node)
 
void register_node_type_sh_tex_white_noise (void)
 

Variables

static bNodeSocketTemplate sh_node_tex_white_noise_in []
 
static bNodeSocketTemplate sh_node_tex_white_noise_out []
 

Function Documentation

◆ gpu_shader_tex_white_noise()

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

Definition at line 40 of file node_shader_tex_white_noise.c.

References ARRAY_SIZE, GPU_stack_link(), names, and node.

Referenced by register_node_type_sh_tex_white_noise().

◆ node_shader_init_tex_white_noise()

static void node_shader_init_tex_white_noise ( bNodeTree UNUSEDntree,
bNode node 
)
static

Definition at line 35 of file node_shader_tex_white_noise.c.

References node.

Referenced by register_node_type_sh_tex_white_noise().

◆ node_shader_update_tex_white_noise()

static void node_shader_update_tex_white_noise ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_sh_tex_white_noise()

void register_node_type_sh_tex_white_noise ( void  )

Variable Documentation

◆ sh_node_tex_white_noise_in

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

Definition at line 24 of file node_shader_tex_white_noise.c.

Referenced by register_node_type_sh_tex_white_noise().

◆ sh_node_tex_white_noise_out

bNodeSocketTemplate sh_node_tex_white_noise_out[]
static
Initial value:
= {
{SOCK_FLOAT, N_("Value")},
{SOCK_RGBA, N_("Color")},
{-1, ""},
}
@ SOCK_RGBA

Definition at line 29 of file node_shader_tex_white_noise.c.

Referenced by register_node_type_sh_tex_white_noise().