17 b.add_input<
decl::Color>(
"Color").default_value({0.8f, 0.8f, 0.8f, 1.0});
41 ntype.
declare = file_ns::node_declare_sephsv;
42 ntype.
gpu_fn = file_ns::gpu_shader_sephsv;
78 ntype.
declare = file_ns::node_declare_combhsv;
79 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,...)
local_group_size(16, 16) .push_constant(Type b
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, int type, const char *name, short nclass)
NodeGPUExecFunction gpu_fn
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare