|
Blender V5.0
|
Functions | |
| static void | cmp_node_huecorrect_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_huecorrect (bNodeTree *, bNode *node) |
| static CurveMapping * | get_curve_mapping (const bNode &node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| static float4 | hue_correct (const float4 &color, const float factor, const CurveMapping *curve_map) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 27 of file node_composite_huecorrect.cc.
References b, PROP_FACTOR, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 59 of file node_composite_huecorrect.cc.
References bNode::storage.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 95 of file node_composite_huecorrect.cc.
References BKE_curvemapping_evaluateF(), blender::math::clamp(), blender::math::fract(), hsv_to_rgb_v(), blender::math::interpolate(), blender::math::max(), result, and rgb_to_hsv_v().
Referenced by node_build_multi_function().
|
static |
Definition at line 123 of file node_composite_huecorrect.cc.
References BKE_curvemapping_init(), blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn_cb(), get_curve_mapping(), hue_correct(), and blender::nodes::NodeMultiFunctionBuilder::node().
|
static |
Definition at line 39 of file node_composite_huecorrect.cc.
References BKE_curvemap_reset(), BKE_curvemapping_add(), CurveMapping::clipr, CurveMapping::cm, CUMA_USE_WRAPPING, CurveMapping::cur, CURVE_PRESET_MID8, CurveMapping::flag, Positive, CurveMapping::preset, and bNode::storage.
|
static |
Definition at line 64 of file node_composite_huecorrect.cc.
References BKE_curvemapping_compute_range_dividers(), BKE_curvemapping_get_range_minimums(), BKE_curvemapping_init(), BKE_curvemapping_table_RGBA(), CM_TOT, get_curve_mapping(), GPU_color_band(), GPU_constant(), GPU_stack_link(), GPU_uniform(), inputs, and outputs.