|
Blender
V2.93
|
#include <FN_multi_function_param_type.hh>
Public Types | |
| enum | InterfaceType { Input , Output , Mutable } |
| enum | Category { SingleInput , VectorInput , SingleOutput , VectorOutput , SingleMutable , VectorMutable } |
Public Member Functions | |
| MFParamType (InterfaceType interface_type, MFDataType data_type) | |
| MFDataType | data_type () const |
| InterfaceType | interface_type () const |
| Category | category () const |
| bool | is_input_or_mutable () const |
| bool | is_output_or_mutable () const |
| bool | is_output () const |
Static Public Member Functions | |
| static MFParamType | ForSingleInput (const CPPType &type) |
| static MFParamType | ForVectorInput (const CPPType &base_type) |
| static MFParamType | ForSingleOutput (const CPPType &type) |
| static MFParamType | ForVectorOutput (const CPPType &base_type) |
| static MFParamType | ForMutableSingle (const CPPType &type) |
| static MFParamType | ForMutableVector (const CPPType &base_type) |
Friends | |
| bool | operator== (const MFParamType &a, const MFParamType &b) |
| bool | operator!= (const MFParamType &a, const MFParamType &b) |
Definition at line 39 of file FN_multi_function_param_type.hh.
| Enumerator | |
|---|---|
| SingleInput | |
| VectorInput | |
| SingleOutput | |
| VectorOutput | |
| SingleMutable | |
| VectorMutable | |
Definition at line 47 of file FN_multi_function_param_type.hh.
| Enumerator | |
|---|---|
| Input | |
| Output | |
| Mutable | |
Definition at line 41 of file FN_multi_function_param_type.hh.
|
inline |
Definition at line 61 of file FN_multi_function_param_type.hh.
Referenced by ForMutableSingle(), ForMutableVector(), ForSingleInput(), ForSingleOutput(), ForVectorInput(), and ForVectorOutput().
|
inline |
Definition at line 106 of file FN_multi_function_param_type.hh.
References BLI_assert, blender::fn::MFDataType::category(), Input, Mutable, Output, blender::fn::MFDataType::Single, SingleInput, SingleMutable, SingleOutput, blender::fn::MFDataType::Vector, VectorInput, VectorMutable, and VectorOutput.
|
inline |
Definition at line 96 of file FN_multi_function_param_type.hh.
Referenced by blender::fn::mf_network_optimization::add_constant_folded_sockets(), blender::fn::MFNetwork::add_function(), blender::fn::CustomMF_DefaultOutput::call(), and blender::fn::mf_network_optimization::prepare_params_for_constant_folding().
|
inlinestatic |
Definition at line 86 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForSingle(), MFParamType(), and type.
Referenced by blender::fn::MFParamsBuilder::add_single_mutable().
|
inlinestatic |
Definition at line 91 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForVector(), and MFParamType().
Referenced by blender::fn::MFParamsBuilder::add_vector_mutable().
|
inlinestatic |
Definition at line 66 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForSingle(), MFParamType(), and type.
Referenced by blender::fn::MFParamsBuilder::add_readonly_single_input().
|
inlinestatic |
Definition at line 76 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForSingle(), MFParamType(), Output, and type.
Referenced by blender::fn::MFParamsBuilder::add_uninitialized_single_output().
|
inlinestatic |
Definition at line 71 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForVector(), and MFParamType().
Referenced by blender::fn::MFParamsBuilder::add_readonly_vector_input().
|
inlinestatic |
Definition at line 81 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForVector(), MFParamType(), and Output.
Referenced by blender::fn::MFParamsBuilder::add_vector_output().
|
inline |
Definition at line 101 of file FN_multi_function_param_type.hh.
|
inline |
Definition at line 136 of file FN_multi_function_param_type.hh.
References ELEM, Input, and Mutable.
Referenced by blender::fn::MFNetwork::add_function().
|
inline |
Definition at line 146 of file FN_multi_function_param_type.hh.
References Output.
Referenced by blender::fn::CustomMF_DefaultOutput::call().
|
inline |
Definition at line 141 of file FN_multi_function_param_type.hh.
References ELEM, Mutable, and Output.
Referenced by blender::fn::MFNetwork::add_function().
|
friend |
Definition at line 160 of file FN_multi_function_param_type.hh.
|
friend |
Definition at line 155 of file FN_multi_function_param_type.hh.