Blender
V3.3
|
#include <BKE_geometry_fields.hh>
Public Member Functions | |
GVArray | get_varray_for_context (const fn::FieldContext &context, IndexMask mask, ResourceScope &scope) const override |
virtual GVArray | get_varray_for_context (const GeometryComponent &component, eAttrDomain domain, IndexMask mask) const =0 |
![]() | |
FieldInput (const CPPType &type, std::string debug_name="") | |
~FieldInput () | |
virtual std::string | socket_inspection_name () const |
blender::StringRef | debug_name () const |
const CPPType & | cpp_type () const |
Category | category () const |
const CPPType & | output_cpp_type (int output_index) const override |
![]() | |
virtual | ~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 |
Additional Inherited Members | |
![]() | |
enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
![]() | |
const CPPType * | type_ |
std::string | debug_name_ |
Category | category_ = Category::Unknown |
![]() | |
std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 39 of file BKE_geometry_fields.hh.
|
overridevirtual |
Get the value of this specific input based on the given context. The returned virtual array, should live at least as long as the passed in #scope. May return null.
Implements blender::fn::FieldInput.
|
pure virtual |
Implemented in blender::bke::AnonymousAttributeFieldInput, blender::bke::IDAttributeFieldInput, blender::bke::AttributeFieldInput, blender::bke::CurveLengthFieldInput, blender::nodes::node_geo_interpolate_domain_cc::InterpolateDomain, blender::bke::NormalFieldInput, blender::nodes::node_geo_material_selection_cc::MaterialSelectionFieldInput, blender::nodes::node_geo_input_curve_handles_cc::HandlePositionFieldInput, blender::nodes::node_geo_field_at_index_cc::FieldAtIndex, blender::nodes::node_geo_curve_spline_parameter_cc::IndexOnSplineFieldInput, blender::nodes::node_geo_curve_spline_parameter_cc::CurveLengthParameterFieldInput, blender::nodes::node_geo_curve_spline_parameter_cc::CurveParameterFieldInput, and blender::nodes::node_geo_curve_handle_type_selection_cc::HandleTypeFieldInput.