|
Blender V4.3
|
#include <BKE_geometry_fields.hh>
Inherits blender::bke::GeometryFieldInput.
Public Member Functions | |
| AttributeExistsFieldInput (std::string name, const CPPType &type) | |
| GVArray | get_varray_for_context (const bke::GeometryFieldContext &context, const IndexMask &mask) const final |
Public Member Functions inherited from blender::bke::GeometryFieldInput | |
| GVArray | get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override |
| virtual std::optional< AttrDomain > | preferred_domain (const GeometryComponent &component) const |
Public Member Functions inherited from blender::fn::FieldInput | |
| 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 |
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 |
Static Public Member Functions | |
| static fn::Field< bool > | Create (std::string name) |
Additional Inherited Members | |
Public Types inherited from blender::fn::FieldInput | |
| enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| Category | category_ = Category::Unknown |
Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 319 of file BKE_geometry_fields.hh.
|
inline |
Definition at line 324 of file BKE_geometry_fields.hh.
References blender::fn::FieldInput::category_, and blender::fn::FieldInput::Generated.
|
inlinestatic |
Definition at line 330 of file BKE_geometry_fields.hh.
References blender::CPPType::get().
Referenced by blender::nodes::node_geo_input_named_attribute_cc::node_geo_exec(), and blender::nodes::node_geo_tool_face_set_cc::node_geo_exec().
|
finalvirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 431 of file geometry_fields.cc.
References blender::bke::CurvesGeometry::attributes(), blender::bke::AttributeAccessor::contains(), blender::bke::AttributeAccessor::domain_size(), blender::VArray< T >::ForSingle(), blender::bke::GeometryComponent::GreasePencil, blender::bke::Layer, and blender::bke::greasepencil::Drawing::strokes().