38 ntype.
ui_name =
"UV Along Stroke";
39 ntype.
ui_description =
"UV coordinates that map a texture along the stroke length";
42 ntype.
declare = file_ns::node_declare;
44 ntype.
draw_buttons = file_ns::node_shader_buts_uvalongstroke;
#define SH_NODE_UVALONGSTROKE
void node_register_type(bNodeType &ntype)
static void node_declare(NodeDeclarationBuilder &b)
static void node_shader_buts_uvalongstroke(ui::Layout &layout, bContext *, PointerRNA *ptr)
@ ITEM_R_SPLIT_EMPTY_NAME
void sh_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
bool line_style_shader_nodes_poll(const bContext *C)
void register_node_type_sh_uvalongstroke()
void(*) draw_buttons(ui::Layout &, bContext *C, PointerRNA *ptr)
std::string ui_description
const char * enum_name_legacy
NodeDeclareFunction declare
bool(*) add_ui_poll(const bContext *C)
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< StringRef > name_opt, int icon, std::optional< StringRef > placeholder=std::nullopt)