17 b.add_input<
decl::Float>(
"Value"_ustr).default_value(0.0f).min(-100.0f).max(100.0f);
18 b.add_input<
decl::Float>(
"Width"_ustr).default_value(1.0f).min(-100.0f).max(100.0f);
19 b.add_input<
decl::Float>(
"Center"_ustr).default_value(0.0f).min(-100.0f).max(100.0f);
41 ntype.
ui_name =
"Squeeze Value (Legacy)";
46 ntype.
declare = file_ns::node_declare;
47 ntype.
gpu_fn = file_ns::gpu_shader_squeeze;
#define NODE_CLASS_CONVERTER
void node_register_type(bNodeType &ntype)
static int gpu_shader_squeeze(GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
static void node_declare(NodeDeclarationBuilder &b)
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
void sh_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void register_node_type_sh_squeeze()
std::string ui_description
NodeGPUExecFunction gpu_fn
const char * enum_name_legacy
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare