17 b.add_input<
decl::Color>(
"Color").default_value({0.8f, 0.8f, 0.8f, 1.0});
41 ntype.
ui_name =
"Separate HSV (Legacy)";
45 ntype.
declare = file_ns::node_declare_sephsv;
46 ntype.
gpu_fn = file_ns::gpu_shader_sephsv;
82 ntype.
ui_name =
"Combine HSV (Legacy)";
86 ntype.
declare = file_ns::node_declare_combhsv;
87 ntype.
gpu_fn = file_ns::gpu_shader_combhsv;
#define NODE_CLASS_CONVERTER
#define SH_NODE_SEPHSV_LEGACY
#define SH_NODE_COMBHSV_LEGACY
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_sephsv(GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
static void node_declare_sephsv(NodeDeclarationBuilder &b)
static void node_declare_combhsv(NodeDeclarationBuilder &b)
static int gpu_shader_combhsv(GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_sephsv()
void register_node_type_sh_combhsv()
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