14 b.add_input<
decl::Float>(
N_(
"Value")).default_value(0.0f).min(-100.0f).max(100.0f);
15 b.add_input<
decl::Float>(
N_(
"Width")).default_value(1.0f).min(-100.0f).max(100.0f);
16 b.add_input<
decl::Float>(
N_(
"Center")).default_value(0.0f).min(-100.0f).max(100.0f);
void node_type_gpu(struct bNodeType *ntype, NodeGPUExecFunction gpu_fn)
#define NODE_CLASS_CONVERTER
void nodeRegisterType(struct bNodeType *ntype)
bool GPU_stack_link(GPUMaterial *mat, struct bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
static int gpu_shader_squeeze(GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
static void node_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken out("out", pxr::TfToken::Immortal)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_sh_squeeze()
void sh_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass)
NodeDeclareFunction declare