Blender V5.3
blender::RNAPropertyOverrideApplyContext Struct Reference

#include <rna_internal_types.hh>

Public Attributes

eRNAOverrideApplyFlag flag = RNA_OVERRIDE_APPLY_FLAG_NOP
bool do_insert = false
PointerRNA ptr_dst = {}
PointerRNA ptr_src = {}
PointerRNA ptr_storage = {}
PropertyRNA * prop_dst = nullptr
PropertyRNA * prop_src = nullptr
PropertyRNA * prop_storage = nullptr
int len_dst = 0
int len_src = 0
int len_storage = 0
PointerRNA ptr_item_dst = {}
PointerRNA ptr_item_src = {}
PointerRNA ptr_item_storage = {}
IDOverrideLibrary * liboverride = nullptr
IDOverrideLibraryProperty * liboverride_property = nullptr
IDOverrideLibraryPropertyOperation * liboverride_operation = nullptr
IDOverrideLibraryProperty * liboverride_removed_property = nullptr
IDOverrideLibraryPropertyOperation * liboverride_removed_operation = nullptr

Detailed Description

Apply given override operation from src to dst (using value from storage as second operand for differential operations).

Returns
true if given operation is successfully applied to given data, false otherwise.
Note
Given PropertyRNA are final, fully resolved (in case of IDProps...).
In non-array cases, len values are 0.
_storage data is currently unused.

Definition at line 328 of file rna_internal_types.hh.

Member Data Documentation

◆ do_insert

bool blender::RNAPropertyOverrideApplyContext::do_insert = false

◆ flag

eRNAOverrideApplyFlag blender::RNAPropertyOverrideApplyContext::flag = RNA_OVERRIDE_APPLY_FLAG_NOP

◆ len_dst

int blender::RNAPropertyOverrideApplyContext::len_dst = 0

Length, for array properties.

Definition at line 341 of file rna_internal_types.hh.

Referenced by blender::rna_property_override_operation_apply().

◆ len_src

int blender::RNAPropertyOverrideApplyContext::len_src = 0

◆ len_storage

int blender::RNAPropertyOverrideApplyContext::len_storage = 0

◆ liboverride

IDOverrideLibrary* blender::RNAPropertyOverrideApplyContext::liboverride = nullptr

LibOverride data.

Definition at line 351 of file rna_internal_types.hh.

Referenced by blender::RNA_struct_override_apply().

◆ liboverride_operation

◆ liboverride_property

◆ liboverride_removed_operation

IDOverrideLibraryPropertyOperation* blender::RNAPropertyOverrideApplyContext::liboverride_removed_operation = nullptr

Definition at line 359 of file rna_internal_types.hh.

Referenced by blender::RNA_property_copy().

◆ liboverride_removed_property

IDOverrideLibraryProperty* blender::RNAPropertyOverrideApplyContext::liboverride_removed_property = nullptr

Previous liboverride property & operation. Only set when applying a generic 'REPLACE' operation to revert changes in the liboverride to the reference data, null otherwise.

Definition at line 358 of file rna_internal_types.hh.

Referenced by blender::RNA_property_copy().

◆ prop_dst

◆ prop_src

◆ prop_storage

◆ ptr_dst

◆ ptr_item_dst

PointerRNA blender::RNAPropertyOverrideApplyContext::ptr_item_dst = {}

Items, for RNA collections.

Definition at line 346 of file rna_internal_types.hh.

Referenced by blender::rna_property_override_collection_subitem_lookup(), and blender::RNA_struct_override_apply().

◆ ptr_item_src

PointerRNA blender::RNAPropertyOverrideApplyContext::ptr_item_src = {}

◆ ptr_item_storage

PointerRNA blender::RNAPropertyOverrideApplyContext::ptr_item_storage = {}

◆ ptr_src

◆ ptr_storage


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