|
Blender V5.0
|
#include <FN_field.hh>
Inherits blender::fn::FieldNode.
Public Member Functions | |
#FieldConstant | |
| FieldConstant (const CPPType &type, const void *value) | |
| ~FieldConstant () override | |
| const CPPType & | output_cpp_type (int output_index) const override |
| const CPPType & | type () const |
| GPointer | value () const |
| Public Member Functions inherited from blender::fn::FieldNode | |
| FieldNode (FieldNodeType node_type) | |
| FieldNodeType | node_type () const |
| bool | depends_on_input () const |
| const std::shared_ptr< const FieldInputs > & | field_inputs () const |
| virtual uint64_t | hash () const |
| virtual bool | is_equal_to (const FieldNode &other) const |
| virtual | ~FieldNode () |
| virtual void | for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const |
Additional Inherited Members | |
| Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 294 of file FN_field.hh.
| blender::fn::FieldConstant::FieldConstant | ( | const CPPType & | type, |
| const void * | value ) |
Definition at line 695 of file field.cc.
References blender::fn::FieldNode::FieldNode(), MEM_mallocN_aligned(), type(), and value().
|
override |
Definition at line 702 of file field.cc.
References MEM_freeN().
|
overridevirtual |
Implements blender::fn::FieldNode.
Definition at line 708 of file field.cc.
References BLI_assert, and UNUSED_VARS_NDEBUG.
| const CPPType & blender::fn::FieldConstant::type | ( | ) | const |
Definition at line 715 of file field.cc.
Referenced by blender::fn::build_multi_function_procedure_for_fields(), blender::fn::evaluate_fields(), and FieldConstant().
| GPointer blender::fn::FieldConstant::value | ( | ) | const |
Definition at line 720 of file field.cc.
Referenced by blender::fn::build_multi_function_procedure_for_fields(), blender::fn::evaluate_fields(), and FieldConstant().