28 int zone_id = *
reinterpret_cast<int *
>(&
node->custom3);
44 int zone_id =
node->identifier;
68 ntype.
ui_name =
"Light Iter Internal Input";
72 ntype.
declare = file_ns::node_declare;
74 ntype.
gpu_fn = file_ns::node_shader_fn;
75 ntype.
add_ui_poll = nodes::node_shader_light_iter_internal_cc::add_ui_poll;
88 ntype.
ui_name =
"Light Iter Internal Output";
92 ntype.
declare = file_ns::node_declare;
94 ntype.
gpu_fn = file_ns::node_shader_fn;
95 ntype.
add_ui_poll = nodes::node_shader_light_iter_internal_cc::add_ui_poll;
#define NODE_CLASS_SHADER
#define SH_NODE_LIGHT_ITER_INTERNAL_OUTPUT
#define SH_NODE_LIGHT_ITER_INTERNAL_INPUT
void node_register_type(bNodeType &ntype)
static void node_declare(NodeDeclarationBuilder &)
static int node_shader_fn(GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_light_iter_internal_input()
void sh_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
bool GPU_stack_link_zone(GPUMaterial *material, const bNode *bnode, const char *name, GPUNodeStack *in, GPUNodeStack *out, int zone_index, bool is_zone_end, int in_argument_count, int out_argument_count)
void register_node_type_sh_light_iter_internal_output()
void search_link_ops_for_shader_material_lighting_node(nodes::GatherLinkSearchOpParams ¶ms)
std::string ui_description
NodeGPUExecFunction gpu_fn
const char * enum_name_legacy
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare
bool(*) add_ui_poll(const bContext *C)