Blender V4.3
RNAPropertyOverrideApplyContext Struct Reference

#include <rna_internal_types.hh>

Public Attributes

eRNAOverrideApplyFlag flag = RNA_OVERRIDE_APPLY_FLAG_NOP
 
bool do_insert = false
 
PointerRNA ptr_dst = {0}
 
PointerRNA ptr_src = {0}
 
PointerRNA ptr_storage = {0}
 
PropertyRNAprop_dst = nullptr
 
PropertyRNAprop_src = nullptr
 
PropertyRNAprop_storage = nullptr
 
int len_dst = 0
 
int len_src = 0
 
int len_storage = 0
 
PointerRNA ptr_item_dst = {0}
 
PointerRNA ptr_item_src = {0}
 
PointerRNA ptr_item_storage = {0}
 
IDOverrideLibraryliboverride = nullptr
 
IDOverrideLibraryPropertyliboverride_property = nullptr
 
IDOverrideLibraryPropertyOperationliboverride_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 259 of file rna_internal_types.hh.

Member Data Documentation

◆ do_insert

bool RNAPropertyOverrideApplyContext::do_insert = false

◆ flag

eRNAOverrideApplyFlag RNAPropertyOverrideApplyContext::flag = RNA_OVERRIDE_APPLY_FLAG_NOP

◆ len_dst

int RNAPropertyOverrideApplyContext::len_dst = 0

Length, for array properties.

Definition at line 272 of file rna_internal_types.hh.

Referenced by rna_property_override_operation_apply().

◆ len_src

int RNAPropertyOverrideApplyContext::len_src = 0

Definition at line 273 of file rna_internal_types.hh.

Referenced by rna_property_override_operation_apply().

◆ len_storage

int RNAPropertyOverrideApplyContext::len_storage = 0

Definition at line 274 of file rna_internal_types.hh.

Referenced by rna_property_override_operation_apply().

◆ liboverride

IDOverrideLibrary* RNAPropertyOverrideApplyContext::liboverride = nullptr

LibOverride data.

Definition at line 282 of file rna_internal_types.hh.

Referenced by RNA_struct_override_apply().

◆ liboverride_operation

◆ liboverride_property

◆ prop_dst

◆ prop_src

◆ prop_storage

PropertyRNA* RNAPropertyOverrideApplyContext::prop_storage = nullptr

◆ ptr_dst

◆ ptr_item_dst

PointerRNA RNAPropertyOverrideApplyContext::ptr_item_dst = {0}

Items, for RNA collections.

Definition at line 277 of file rna_internal_types.hh.

Referenced by rna_property_override_collection_subitem_lookup(), and RNA_struct_override_apply().

◆ ptr_item_src

PointerRNA RNAPropertyOverrideApplyContext::ptr_item_src = {0}

◆ ptr_item_storage

PointerRNA RNAPropertyOverrideApplyContext::ptr_item_storage = {0}

◆ ptr_src

◆ ptr_storage

PointerRNA RNAPropertyOverrideApplyContext::ptr_storage = {0}

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