Blender  V3.3
Functions
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 *UNUSED(C), PointerRNA *ptr)
 
static void node_shader_init_clamp (bNodeTree *UNUSED(ntree), bNode *node)
 
static int gpu_shader_clamp (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), 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 *  UNUSEDexecdata,
GPUNodeStack *  in,
GPUNodeStack *  out 
)
static

Definition at line 34 of file node_shader_clamp.cc.

References GPU_stack_link(), node, NODE_CLAMP_MINMAX, and usdtokens::out().

Referenced by register_node_type_sh_clamp().

◆ node_shader_buts_clamp()

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

Definition at line 24 of file node_shader_clamp.cc.

References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().

Referenced by register_node_type_sh_clamp().

◆ node_shader_init_clamp()

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

Definition at line 29 of file node_shader_clamp.cc.

References node, and NODE_CLAMP_MINMAX.

Referenced by register_node_type_sh_clamp().

◆ 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 15 of file node_shader_clamp.cc.

References usdtokens::b(), and N_.

Referenced by register_node_type_sh_clamp().