Blender V4.5
blender::nodes::node_composite_math_cc Namespace Reference

Functions

static void cmp_node_math_declare (NodeDeclarationBuilder &b)
static NodeMathOperation get_operation (const bNode &node)
static const char * get_shader_function_name (const bNode &node)
static bool get_should_clamp (const bNode &node)
static int node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs)

Function Documentation

◆ cmp_node_math_declare()

void blender::nodes::node_composite_math_cc::cmp_node_math_declare ( NodeDeclarationBuilder & b)
static

◆ get_operation()

NodeMathOperation blender::nodes::node_composite_math_cc::get_operation ( const bNode & node)
static

Definition at line 46 of file node_composite_math.cc.

References bNode::custom1.

Referenced by get_shader_function_name().

◆ get_shader_function_name()

const char * blender::nodes::node_composite_math_cc::get_shader_function_name ( const bNode & node)
static

◆ get_should_clamp()

bool blender::nodes::node_composite_math_cc::get_should_clamp ( const bNode & node)
static

Definition at line 56 of file node_composite_math.cc.

References bNode::custom2, and SHD_MATH_CLAMP.

Referenced by node_gpu_material().

◆ node_gpu_material()

int blender::nodes::node_composite_math_cc::node_gpu_material ( GPUMaterial * material,
bNode * node,
bNodeExecData * ,
GPUNodeStack * inputs,
GPUNodeStack * outputs )
static