19 b.add_input<
decl::Color>(
N_(
"Off")).default_value({0.8f, 0.8f, 0.8f, 1.0f});
20 b.add_input<
decl::Color>(
N_(
"On")).default_value({0.8f, 0.8f, 0.8f, 1.0f});
void node_type_size_preset(struct bNodeType *ntype, eNodeSizePreset size)
#define NODE_CLASS_LAYOUT
void nodeRegisterType(struct bNodeType *ntype)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
static void node_composit_buts_switch(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static void cmp_node_switch_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_switch()
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare