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

Functions

static void cmp_node_channel_matte_declare (NodeDeclarationBuilder &b)
static void node_composit_init_channel_matte (bNodeTree *, bNode *node)
static void node_composit_buts_channel_matte (uiLayout *layout, bContext *, PointerRNA *ptr)
static CMPNodeChannelMatteColorSpace get_color_space (const bNode &node)
static int get_matte_channel (const bNode &node)
static int get_limit_channel (const bNode &node)
static int2int2 get_limit_channels (const bNode &node)
static int node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs)
template<CMPNodeChannelMatteColorSpace ColorSpace>
static void channel_key (const float4 &color, const float min_limit, const float max_limit, const int matte_channel, const int2int2 limit_channels, float4 &result, float &matte)
static void node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder)

Function Documentation

◆ channel_key()

template<CMPNodeChannelMatteColorSpace ColorSpace>
void blender::nodes::node_composite_channel_matte_cc::channel_key ( const float4 & color,
const float min_limit,
const float max_limit,
const int matte_channel,
const int2int2 limit_channels,
float4 & result,
float & matte )
static

◆ cmp_node_channel_matte_declare()

void blender::nodes::node_composite_channel_matte_cc::cmp_node_channel_matte_declare ( NodeDeclarationBuilder & b)
static

◆ get_color_space()

CMPNodeChannelMatteColorSpace blender::nodes::node_composite_channel_matte_cc::get_color_space ( const bNode & node)
static

Definition at line 97 of file node_composite_channel_matte.cc.

References bNode::custom1.

Referenced by node_build_multi_function(), and node_gpu_material().

◆ get_limit_channel()

int blender::nodes::node_composite_channel_matte_cc::get_limit_channel ( const bNode & node)
static

Definition at line 109 of file node_composite_channel_matte.cc.

Referenced by get_limit_channels().

◆ get_limit_channels()

int2int2 blender::nodes::node_composite_channel_matte_cc::get_limit_channels ( const bNode & node)
static

◆ get_matte_channel()

int blender::nodes::node_composite_channel_matte_cc::get_matte_channel ( const bNode & node)
static

◆ node_build_multi_function()

◆ node_composit_buts_channel_matte()

void blender::nodes::node_composite_channel_matte_cc::node_composit_buts_channel_matte ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

◆ node_composit_init_channel_matte()

void blender::nodes::node_composite_channel_matte_cc::node_composit_init_channel_matte ( bNodeTree * ,
bNode * node )
static

◆ node_gpu_material()

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