13 b.add_input<
decl::Bool>(
"Switch"_ustr).default_value(
false);
15 .default_value({0.8f, 0.8f, 0.8f, 1.0f})
19 .default_value({0.8f, 0.8f, 0.8f, 1.0f})
56 ntype.
ui_description =
"Switch between two images using a checkbox";
#define NODE_CLASS_CONVERTER
#define NOD_REGISTER_NODE(REGISTER_FUNC)
NodeOperation(Context &context, const bNode &node)
Result & get_result(StringRef identifier)
Result & get_input(StringRef identifier) const
T get_single_value_default() const
StructureType structure_type
NodeOperation(Context &context, const bNode &node)
void node_register_type(bNodeType &ntype)
static void node_register()
static void node_declare(NodeDeclarationBuilder &b)
static NodeOperation * get_compositor_operation(Context &context, const bNode &node)
void cmp_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
const char * deprecation_notice
const char * enum_name_legacy
NodeDeclareFunction declare