14 b.add_input<
decl::Color>(
"Color").default_value({1.0f, 0.0f, 1.0f, 1.0f});
33 row = &
col->row(
true);
48 ntype.
ui_name =
"Line Style Output";
50 "Control the mixing of texture information into the base color of line styles";
53 ntype.
declare = file_ns::node_declare;
55 ntype.
draw_buttons = file_ns::node_buts_output_linestyle;
#define NODE_CLASS_OUTPUT
#define SH_NODE_OUTPUT_LINESTYLE
@ UI_ITEM_R_SPLIT_EMPTY_NAME
void node_register_type(bNodeType &ntype)
static void node_declare(NodeDeclarationBuilder &b)
static void node_buts_output_linestyle(uiLayout *layout, bContext *, PointerRNA *ptr)
void register_node_type_sh_output_linestyle()
bool line_style_shader_nodes_poll(const bContext *C)
void sh_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
bool(* add_ui_poll)(const bContext *C)
const char * enum_name_legacy
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
uiLayout & column(bool align)
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< blender::StringRef > name_opt, int icon, std::optional< blender::StringRef > placeholder=std::nullopt)