Blender V5.3
blender::ed::geometry::OperatorTypeData Struct Reference

Inherits blender::wmOperatorType::TypeData.

Classes

struct  LocalRef

Static Public Member Functions

static std::optional< OperatorTypeData > from_asset (const AssetRepresentation &asset, RegistrationData::Errors &errors)
static std::optional< OperatorTypeData > from_group (const bNodeTree &group, RegistrationData::Errors &errors)

Public Attributes

std::string name
std::string idname
StringRefNull custom_idname
std::string description
GeometryNodeAssetTraitFlag flag
std::unique_ptr< IDProperty, bke::idprop::IDPropertyDeleter > asset_meta_data_properties
Vector< StructRNA * > generated_structs
Vector< Array< EnumPropertyItem, 0 > > enum_item_storage
std::variant< AssetWeakReference, LocalRef > group_ref
bool asset_needs_downloading
UniqueHash hash

Additional Inherited Members

Public Member Functions inherited from blender::wmOperatorType::TypeData
virtual ~TypeData ()=default

Detailed Description

Abstraction layer over local node groups and assets, so operators can be registered and referenced regardless of that distinction.

Definition at line 132 of file node_group_operator.cc.

Member Function Documentation

◆ from_asset()

◆ from_group()

Member Data Documentation

◆ asset_meta_data_properties

std::unique_ptr<IDProperty, bke::idprop::IDPropertyDeleter> blender::ed::geometry::OperatorTypeData::asset_meta_data_properties

◆ asset_needs_downloading

bool blender::ed::geometry::OperatorTypeData::asset_needs_downloading

Definition at line 151 of file node_group_operator.cc.

Referenced by from_asset(), and from_group().

◆ custom_idname

StringRefNull blender::ed::geometry::OperatorTypeData::custom_idname

Definition at line 135 of file node_group_operator.cc.

Referenced by from_asset(), and from_group().

◆ description

std::string blender::ed::geometry::OperatorTypeData::description

◆ enum_item_storage

Vector<Array<EnumPropertyItem, 0> > blender::ed::geometry::OperatorTypeData::enum_item_storage

◆ flag

GeometryNodeAssetTraitFlag blender::ed::geometry::OperatorTypeData::flag

◆ generated_structs

Vector<StructRNA *> blender::ed::geometry::OperatorTypeData::generated_structs

◆ group_ref

std::variant<AssetWeakReference, LocalRef> blender::ed::geometry::OperatorTypeData::group_ref

Definition at line 146 of file node_group_operator.cc.

Referenced by from_asset(), and from_group().

◆ hash

UniqueHash blender::ed::geometry::OperatorTypeData::hash

Definition at line 153 of file node_group_operator.cc.

◆ idname

std::string blender::ed::geometry::OperatorTypeData::idname

◆ name

std::string blender::ed::geometry::OperatorTypeData::name

The documentation for this struct was generated from the following file: