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);
40 ntype.
declare = file_ns::node_declare;
41 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,...)
local_group_size(16, 16) .push_constant(Type b
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, int type, const char *name, short nclass)
NodeGPUExecFunction gpu_fn
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare