15 b.add_input<
decl::Float>(
"Value").default_value(0.0f).min(-100.0f).max(100.0f);
16 b.add_input<
decl::Float>(
"Width").default_value(1.0f).min(-100.0f).max(100.0f);
17 b.add_input<
decl::Float>(
"Center").default_value(0.0f).min(-100.0f).max(100.0f);
39 ntype.
ui_name =
"Squeeze Value (Legacy)";
44 ntype.
declare = file_ns::node_declare;
45 ntype.
gpu_fn = file_ns::gpu_shader_squeeze;
#define NODE_CLASS_CONVERTER
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
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)
void register_node_type_sh_squeeze()
void sh_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGPUExecFunction gpu_fn
const char * enum_name_legacy
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare