|
Blender V4.3
|
#include <FN_multi_function_params.hh>
Public Member Functions | |
| ParamsBuilder (const class MultiFunction &fn, const IndexMask *mask) | |
Friends | |
| class | Params |
#Paramsbuilder Inline Methods | |
| template<typename T > | |
| void | add_readonly_single_input_value (T value, StringRef expected_name="") |
| template<typename T > | |
| void | add_readonly_single_input (const T *value, StringRef expected_name="") |
| void | add_readonly_single_input (const GSpan span, StringRef expected_name="") |
| void | add_readonly_single_input (GPointer value, StringRef expected_name="") |
| void | add_readonly_single_input (GVArray varray, StringRef expected_name="") |
| void | add_readonly_vector_input (const GVectorArray &vector_array, StringRef expected_name="") |
| void | add_readonly_vector_input (const GSpan single_vector, StringRef expected_name="") |
| void | add_readonly_vector_input (const GVVectorArray &ref, StringRef expected_name="") |
| template<typename T > | |
| void | add_uninitialized_single_output (T *value, StringRef expected_name="") |
| void | add_uninitialized_single_output (GMutableSpan ref, StringRef expected_name="") |
| void | add_ignored_single_output (StringRef expected_name="") |
| void | add_vector_output (GVectorArray &vector_array, StringRef expected_name="") |
| void | add_single_mutable (GMutableSpan ref, StringRef expected_name="") |
| void | add_vector_mutable (GVectorArray &vector_array, StringRef expected_name="") |
| int | next_param_index () const |
| GMutableSpan | computed_array (int param_index) |
| GVectorArray & | computed_vector_array (int param_index) |
Definition at line 28 of file FN_multi_function_params.hh.
| blender::fn::multi_function::ParamsBuilder::ParamsBuilder | ( | const class MultiFunction & | fn, |
| const IndexMask * | mask ) |
The indices referenced by the #mask has to live longer than the params builder. This is because the it might have to destruct elements for all masked indices in the end.
|
inline |
Definition at line 232 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::category(), blender::fn::multi_function::ParamType::data_type(), blender::fn::multi_function::Signature::params, blender::fn::multi_function::DataType::single_type(), blender::fn::multi_function::SingleOutput, and blender::fn::multi_function::SupportsUnusedOutput.
Referenced by blender::fn::multi_function::add_sliced_parameters().
|
inline |
Definition at line 170 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForSingleInput(), blender::GSpan::size(), and blender::GSpan::type().
|
inline |
Definition at line 160 of file FN_multi_function_params.hh.
References blender::fn::multi_function::ParamType::ForSingleInput(), and blender::CPPType::get().
Referenced by blender::fn::multi_function::add_sliced_parameters().
|
inline |
Definition at line 177 of file FN_multi_function_params.hh.
References blender::fn::multi_function::ParamType::ForSingleInput().
|
inline |
Definition at line 187 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForSingleInput(), blender::GVArrayCommon::size(), and blender::GVArrayCommon::type().
|
inline |
Definition at line 149 of file FN_multi_function_params.hh.
References blender::fn::multi_function::ParamType::ForSingleInput(), and blender::CPPType::get().
|
inline |
Definition at line 202 of file FN_multi_function_params.hh.
References add_readonly_vector_input().
|
inline |
Definition at line 194 of file FN_multi_function_params.hh.
References add_readonly_vector_input().
Referenced by add_readonly_vector_input(), and add_readonly_vector_input().
|
inline |
Definition at line 210 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForVectorInput(), blender::GVVectorArray::size(), and blender::GVVectorArray::type().
|
inline |
Definition at line 258 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForMutableSingle(), blender::GMutableSpan::size(), and blender::GMutableSpan::type().
Referenced by blender::fn::multi_function::add_sliced_parameters().
|
inline |
Definition at line 224 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForSingleOutput(), blender::GMutableSpan::size(), and blender::GMutableSpan::type().
|
inline |
Definition at line 219 of file FN_multi_function_params.hh.
References add_uninitialized_single_output(), and blender::CPPType::get().
Referenced by blender::fn::multi_function::add_sliced_parameters(), and add_uninitialized_single_output().
|
inline |
Definition at line 265 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForMutableVector(), blender::GVectorArray::size(), and blender::GVectorArray::type().
|
inline |
Definition at line 251 of file FN_multi_function_params.hh.
References BLI_assert, blender::fn::multi_function::ParamType::ForVectorOutput(), blender::GVectorArray::size(), and blender::GVectorArray::type().
|
inline |
Definition at line 277 of file FN_multi_function_params.hh.
References BLI_assert, ELEM, blender::fn::multi_function::Signature::params, blender::fn::multi_function::SingleMutable, and blender::fn::multi_function::SingleOutput.
|
inline |
Definition at line 285 of file FN_multi_function_params.hh.
References BLI_assert, ELEM, blender::fn::multi_function::Signature::params, blender::fn::multi_function::VectorMutable, and blender::fn::multi_function::VectorOutput.
|
inline |
Definition at line 272 of file FN_multi_function_params.hh.
|
friend |
Definition at line 37 of file FN_multi_function_params.hh.