27 .default_value({1.0f, 1.0f, 1.0f, 1.0f})
28 .compositor_domain_priority(0);
39 NodeSetAlpha *settings = MEM_cnew<NodeSetAlpha>(__func__);
40 node->storage = settings;
83 ntype.
declare = file_ns::cmp_node_setalpha_declare;
84 ntype.
draw_buttons = file_ns::node_composit_buts_set_alpha;
85 ntype.
initfunc = file_ns::node_composit_init_setalpha;
#define NODE_CLASS_CONVERTER
#define NODE_STORAGE_FUNCS(StorageT)
@ CMP_NODE_SETALPHA_MODE_APPLY
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
void uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, eUI_Item_Flag flag, const char *name, int icon)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
int compositor_domain_priority() const
void compile(GPUMaterial *material) override
GPUNodeStack * get_inputs_array()
GPUNodeStack * get_outputs_array()
const bNode & bnode() const
local_group_size(16, 16) .push_constant(Type b
void node_type_storage(bNodeType *ntype, const char *storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
void node_register_type(bNodeType *ntype)
static ShaderNode * get_compositor_shader_node(DNode node)
static void node_composit_init_setalpha(bNodeTree *, bNode *node)
static void node_composit_buts_set_alpha(uiLayout *layout, bContext *, PointerRNA *ptr)
static void cmp_node_setalpha_declare(NodeDeclarationBuilder &b)
void register_node_type_cmp_setalpha()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void node_free_standard_storage(bNode *node)
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
void(* initfunc)(bNodeTree *ntree, bNode *node)
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
NodeGetCompositorShaderNodeFunction get_compositor_shader_node