Blender  V2.93
Functions | Variables
node_shader_math.cc File Reference
#include "node_shader_util.h"
#include "NOD_math_functions.hh"

Go to the source code of this file.

Functions

static const char * gpu_shader_get_name (int mode)
 
static int gpu_shader_math (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
static const blender::fn::MultiFunctionget_base_multi_function (blender::nodes::NodeMFNetworkBuilder &builder)
 
static void sh_node_math_expand_in_mf_network (blender::nodes::NodeMFNetworkBuilder &builder)
 
void register_node_type_sh_math (void)
 

Variables

static bNodeSocketTemplate sh_node_math_in []
 
static bNodeSocketTemplate sh_node_math_out [] = {{SOCK_FLOAT, N_("Value")}, {-1, ""}}
 

Function Documentation

◆ get_base_multi_function()

static const blender::fn::MultiFunction& get_base_multi_function ( blender::nodes::NodeMFNetworkBuilder builder)
static

◆ gpu_shader_get_name()

static const char* gpu_shader_get_name ( int  mode)
static

◆ gpu_shader_math()

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

◆ register_node_type_sh_math()

void register_node_type_sh_math ( void  )

◆ sh_node_math_expand_in_mf_network()

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

Variable Documentation

◆ sh_node_math_in

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

Definition at line 29 of file node_shader_math.cc.

Referenced by register_node_type_sh_math().

◆ sh_node_math_out

bNodeSocketTemplate sh_node_math_out[] = {{SOCK_FLOAT, N_("Value")}, {-1, ""}}
static

Definition at line 35 of file node_shader_math.cc.

Referenced by register_node_type_sh_math().