Blender  V2.93
Functions | Variables
node_shader_value.cc File Reference
#include "node_shader_util.h"

Go to the source code of this file.

Functions

static int gpu_shader_value (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
static void sh_node_value_expand_in_mf_network (blender::nodes::NodeMFNetworkBuilder &builder)
 
void register_node_type_sh_value (void)
 

Variables

static bNodeSocketTemplate sh_node_value_out []
 

Function Documentation

◆ gpu_shader_value()

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

Definition at line 32 of file node_shader_value.cc.

References GPU_stack_link(), GPU_uniformbuf_link_out(), and node.

Referenced by register_node_type_sh_value().

◆ register_node_type_sh_value()

void register_node_type_sh_value ( void  )

◆ sh_node_value_expand_in_mf_network()

static void sh_node_value_expand_in_mf_network ( blender::nodes::NodeMFNetworkBuilder builder)
static

Variable Documentation

◆ sh_node_value_out

bNodeSocketTemplate sh_node_value_out[]
static
Initial value:
= {
{SOCK_FLOAT, N_("Value"), 0.5f, 0, 0, 0, -FLT_MAX, FLT_MAX, PROP_NONE},
{-1, ""},
}
#define N_(msgid)
@ SOCK_FLOAT
@ PROP_NONE
Definition: RNA_types.h:113

Definition at line 27 of file node_shader_value.cc.

Referenced by register_node_type_sh_value().