50 bNode &node =
params.add_node(
"CompositorNodeMath");
63 if (item->name !=
nullptr && item->identifier[0] !=
'\0') {
88 const float min = 0.0f;
89 const float max = 1.0f;
128 ntype.
declare = file_ns::cmp_node_math_declare;
#define NODE_CLASS_CONVERTER
#define BLT_I18NCONTEXT_ID_NODETREE
#define CTX_IFACE_(context, msgid)
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
GPUNodeLink * GPU_constant(const float *num)
bool GPU_link(GPUMaterial *mat, const char *name,...)
constexpr const char * c_str() const
int compositor_domain_priority() const
NodeMathOperation get_operation()
void compile(GPUMaterial *material) override
const char * get_shader_function_name()
void operator()(LinkSearchOpParams ¶ms)
GPUNodeStack * get_inputs_array()
GPUNodeStack * get_outputs_array()
GPUNodeStack & get_output(StringRef identifier)
const bNode & bnode() const
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
static ShaderNode * get_compositor_shader_node(DNode node)
static void node_gather_link_searches(GatherLinkSearchOpParams ¶ms)
static void cmp_node_math_declare(NodeDeclarationBuilder &b)
const FloatMathOperationInfo * get_float_math_operation_info(const int operation)
void register_node_type_cmp_math()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void node_math_label(const bNodeTree *, const bNode *node, char *label, int label_maxncpy)
void node_math_update(bNodeTree *ntree, bNode *node)
const EnumPropertyItem rna_enum_node_math_items[]
void(* labelfunc)(const bNodeTree *ntree, const bNode *node, char *label, int label_maxncpy)
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare
void(* updatefunc)(bNodeTree *ntree, bNode *node)
NodeGetCompositorShaderNodeFunction get_compositor_shader_node
StringRefNull shader_name