|
Blender V5.0
|
Enumerations | |
| enum class | RGBChannel : uint8_t { R = 0 , G = 1 , B = 2 } |
Functions | |
| static void | cmp_node_color_spill_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_color_spill (bNodeTree *, bNode *node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| static int2 | compute_limit_channels (const CMPNodeColorSpillLimitAlgorithm limit_method, const int spill_channel, const int limit_channel) |
| static float3 | compute_spill_scale (const bool use_spill_strength, const float4 spill_strength, const int spill_channel) |
| static float4 | color_spill (const float4 color, const float factor, const int spill_channel, const CMPNodeColorSpillLimitAlgorithm limit_method, const int limit_channel, const float limit_scale, const bool use_spill_strength, const float4 spill_strength) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
Variables | |
| static const EnumPropertyItem | rgb_channel_items [] |
| static const EnumPropertyItem | limit_method_items [] |
|
strong |
| Enumerator | |
|---|---|
| R | |
| G | |
| B | |
Definition at line 21 of file node_composite_color_spill.cc.
|
static |
Definition at line 48 of file node_composite_color_spill.cc.
References blender::nodes::DeclarationListBuilder::add_input(), b, BLT_I18NCONTEXT_COLOR, CMP_NODE_COLOR_SPILL_LIMIT_ALGORITHM_SINGLE, blender::nodes::SocketDeclaration::description, G, limit_method_items, blender::nodes::SocketDeclaration::optional_label, PROP_FACTOR, R, rgb_channel_items, blender::nodes::decl::Float::subtype, and blender::nodes::SocketDeclaration::translation_context.
|
static |
Definition at line 148 of file node_composite_color_spill.cc.
References compute_limit_channels(), and compute_spill_scale().
Referenced by node_build_multi_function().
|
static |
Definition at line 119 of file node_composite_color_spill.cc.
References CMP_NODE_COLOR_SPILL_LIMIT_ALGORITHM_AVERAGE.
Referenced by color_spill().
|
static |
Definition at line 133 of file node_composite_color_spill.cc.
References blender::VecBase< T, Size >::xyz().
Referenced by color_spill().
|
static |
Definition at line 165 of file node_composite_color_spill.cc.
References color_spill(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), and blender::nodes::MenuValue::value.
|
static |
Definition at line 99 of file node_composite_color_spill.cc.
References MEM_callocN(), and bNode::storage.
|
static |
Definition at line 107 of file node_composite_color_spill.cc.
References GPU_stack_link(), inputs, and outputs.
|
static |
Definition at line 34 of file node_composite_color_spill.cc.
Referenced by cmp_node_color_spill_declare().
|
static |
Definition at line 27 of file node_composite_color_spill.cc.
Referenced by cmp_node_color_spill_declare().