Blender V5.0
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()

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

Definition at line 41 of file node_shader_clamp.cc.

References bNode::custom1, GPU_stack_link(), in, NODE_CLAMP_MINMAX, and out.

◆ node_shader_buts_clamp()

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

Definition at line 31 of file node_shader_clamp.cc.

References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.

◆ node_shader_init_clamp()

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

Definition at line 36 of file node_shader_clamp.cc.

References bNode::custom1, and NODE_CLAMP_MINMAX.

◆ sh_node_clamp_build_multi_function()

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

◆ sh_node_clamp_declare()

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

Definition at line 22 of file node_shader_clamp.cc.

References b.