Blender V5.0
blender::nodes::node_composite_premulkey_cc Namespace Reference

Functions

static void cmp_node_premulkey_declare (NodeDeclarationBuilder &b)
static int node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs)
static void node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder)

Variables

static const EnumPropertyItem type_items []

Function Documentation

◆ cmp_node_premulkey_declare()

void blender::nodes::node_composite_premulkey_cc::cmp_node_premulkey_declare ( NodeDeclarationBuilder & b)
static

◆ node_build_multi_function()

◆ node_gpu_material()

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

Definition at line 51 of file node_composite_premulkey.cc.

References GPU_stack_link(), inputs, and outputs.

Variable Documentation

◆ type_items

const EnumPropertyItem blender::nodes::node_composite_premulkey_cc::type_items[]
static
Initial value:
= {
"STRAIGHT_TO_PREMULTIPLIED",
0,
N_("To Premultiplied"),
N_("Convert straight to premultiplied")},
"PREMULTIPLIED_TO_STRAIGHT",
0,
N_("To Straight"),
N_("Convert premultiplied to straight")},
{0, nullptr, 0, nullptr, nullptr},
}
@ CMP_NODE_ALPHA_CONVERT_UNPREMULTIPLY
@ CMP_NODE_ALPHA_CONVERT_PREMULTIPLY
#define N_(msgid)

Definition at line 21 of file node_composite_premulkey.cc.

Referenced by cmp_node_premulkey_declare().