Blender V4.3
blender::nodes::node_shader_clamp_cc Namespace Reference

Functions

static void sh_node_clamp_declare (NodeDeclarationBuilder &b)
 
static void node_shader_buts_clamp (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void node_shader_init_clamp (bNodeTree *, bNode *node)
 
static int gpu_shader_clamp (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
 
static void sh_node_clamp_build_multi_function (NodeMultiFunctionBuilder &builder)
 

Function Documentation

◆ gpu_shader_clamp()

static int blender::nodes::node_shader_clamp_cc::gpu_shader_clamp ( GPUMaterial * mat,
bNode * node,
bNodeExecData * ,
GPUNodeStack * in,
GPUNodeStack * out )
static

Definition at line 39 of file node_shader_clamp.cc.

References GPU_stack_link(), and NODE_CLAMP_MINMAX.

◆ node_shader_buts_clamp()

static void blender::nodes::node_shader_clamp_cc::node_shader_buts_clamp ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 29 of file node_shader_clamp.cc.

References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().

◆ node_shader_init_clamp()

static void blender::nodes::node_shader_clamp_cc::node_shader_init_clamp ( bNodeTree * ,
bNode * node )
static

Definition at line 34 of file node_shader_clamp.cc.

References NODE_CLAMP_MINMAX.

◆ sh_node_clamp_build_multi_function()

static void blender::nodes::node_shader_clamp_cc::sh_node_clamp_build_multi_function ( NodeMultiFunctionBuilder & builder)
static

◆ sh_node_clamp_declare()

static void blender::nodes::node_shader_clamp_cc::sh_node_clamp_declare ( NodeDeclarationBuilder & b)
static

Definition at line 20 of file node_shader_clamp.cc.

References b.