Blender V5.3
blender::bke::AttributeExistsFieldInput Class Referencefinal

#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
void hash_unique (UniqueHashBytes &hash, fn::FieldHashDeep &deep_hash_cache) const override
NativeFieldDomain native_domain_info (const GeometryComponent &component) const override
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
 FieldInput (const CPPType &type, std::string debug_name="")
Public Member Functions inherited from blender::fn::FieldInput
 FieldInput (const CPPType &type, std::string debug_name="")
 ~FieldInput () override
const FieldInputsPtr & field_inputs () const
uint64_t hash () const
virtual void foreach_recursive_field (FunctionRef< void(const GField &)> fn) const
void delete_self () override
StringRefNull debug_name () const
virtual std::string socket_inspection_name () const
const CPPType & cpp_type () const
Public Member Functions inherited from blender::blender::ImplicitSharingInfo
virtual ~ImplicitSharingInfo ()
bool is_mutable () const
bool is_expired () const
void add_user () const
void add_weak_user () const
void tag_ensured_mutable () const
int64_t version () const
int strong_users () const
void remove_user_and_delete_if_last () const
void remove_weak_user_and_delete_if_last () const

Static Public Member Functions

static fn::Field< bool > from (std::string name)

Additional Inherited Members

Protected Attributes inherited from blender::fn::FieldInput
const CPPType * type_
std::string debug_name_
CacheMutex field_inputs_mutex_
FieldInputsPtr field_inputs_

Detailed Description

Definition at line 363 of file BKE_geometry_fields.hh.

Constructor & Destructor Documentation

◆ AttributeExistsFieldInput()

blender::bke::AttributeExistsFieldInput::AttributeExistsFieldInput ( std::string name,
const CPPType & type )
inline

Definition at line 368 of file BKE_geometry_fields.hh.

Member Function Documentation

◆ from()

fn::Field< bool > blender::bke::AttributeExistsFieldInput::from ( std::string name)
inlinestatic

◆ get_varray_for_context()

◆ hash_unique()

void blender::bke::AttributeExistsFieldInput::hash_unique ( UniqueHashBytes & hash,
fn::FieldHashDeep & deep_hash_cache ) const
overridevirtual

Reimplemented from blender::fn::FieldInput.

Definition at line 480 of file geometry_fields.cc.

References blender::fn::FieldInput::hash(), and blender::Span< T >::Span().

◆ native_domain_info()

NativeFieldDomain blender::bke::AttributeExistsFieldInput::native_domain_info ( const GeometryComponent & component) const
overridevirtual

Reimplemented from blender::bke::GeometryFieldInput.

Definition at line 488 of file geometry_fields.cc.


The documentation for this class was generated from the following files: