Blender V5.3
NOD_math_functions.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "DNA_node_types.h"
12
13#include "BLI_string_ref.hh"
14#include "BLI_ustring.hh"
15
16#include "NOD_multi_function.hh"
17
18namespace blender::nodes {
19
21
37
38const FloatMathOperationInfo *get_float_math_operation_info(int operation);
39const FloatMathOperationInfo *get_float3_math_operation_info(int operation);
40const FloatMathOperationInfo *get_float_compare_operation_info(int operation);
41
42} // namespace blender::nodes
void node_math_build_multi_function(NodeMultiFunctionBuilder &builder)
const FloatMathOperationInfo * get_float3_math_operation_info(const int operation)
const FloatMathOperationInfo * get_float_compare_operation_info(const int operation)
const FloatMathOperationInfo * get_float_math_operation_info(const int operation)
FloatMathOperationInfo(StringRefNull title_case_name, StringRefNull shader_name, UString multi_function_name={})