|
Blender V5.0
|
#include <optional>#include <string>#include "BLI_vector_set.hh"#include "DNA_listBase.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_types.hh"Go to the source code of this file.
Classes | |
| struct | PropertyRNAOrID |
| struct | RNAPropertyOverrideDiffContext |
| struct | RNAPropertyOverrideApplyContext |
| struct | PropertyRNAIdentifierGetter |
| struct | ContainerRNA |
| struct | FunctionRNA |
| struct | PropertyRNA |
| struct | BoolPropertyRNA |
| struct | IntPropertyRNA |
| struct | FloatPropertyRNA |
| struct | StringPropertyRNA |
| struct | EnumPropertyRNA |
| struct | PointerPropertyRNA |
| struct | CollectionPropertyRNA |
| struct | StructRNA |
| struct | BlenderRNA |
Macros | |
| #define | CONTAINER_RNA_ID(cont) |
Enumerations | |
| enum | PropertyFlagIntern { PROP_INTERN_BUILTIN = (1 << 0) , PROP_INTERN_RUNTIME = (1 << 1) , PROP_INTERN_RAW_ACCESS = (1 << 2) , PROP_INTERN_RAW_ARRAY = (1 << 3) , PROP_INTERN_FREE_POINTERS = (1 << 4) , PROP_INTERN_PTR_OWNERSHIP_FORCED = (1 << 5) , PROP_INTERN_PTR_ID_REFCOUNT_FORCED = (1 << 6) } |
| #define CONTAINER_RNA_ID | ( | cont | ) |
Definition at line 761 of file rna_internal_types.hh.
Referenced by RNA_def_float_percentage(), RNA_def_property(), and RNA_def_property_struct_runtime().
| using ContextPropUpdateFunc = void (*)(bContext *C, PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 51 of file rna_internal_types.hh.
| using ContextUpdateFunc = void (*)(bContext *C, PointerRNA *ptr) |
Definition at line 52 of file rna_internal_types.hh.
| using EditableFunc = int (*)(const PointerRNA *ptr, const char **r_info) |
Definition at line 54 of file rna_internal_types.hh.
| using IDPropertiesFunc = IDProperty **(*)(PointerRNA * ptr) |
Definition at line 56 of file rna_internal_types.hh.
| using ItemEditableFunc = int (*)(const PointerRNA *ptr, int index) |
Definition at line 55 of file rna_internal_types.hh.
| using PropArrayLengthGetFunc = int (*)(const PointerRNA *ptr, int length[RNA_MAX_ARRAY_DIMENSION]) |
Definition at line 63 of file rna_internal_types.hh.
| using PropBooleanArrayGetFunc = void (*)(PointerRNA *ptr, bool *values) |
Definition at line 66 of file rna_internal_types.hh.
| using PropBooleanArrayGetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, bool *values) |
Definition at line 115 of file rna_internal_types.hh.
Definition at line 143 of file rna_internal_types.hh.
| using PropBooleanArraySetFunc = void (*)(PointerRNA *ptr, const bool *values) |
Definition at line 67 of file rna_internal_types.hh.
| using PropBooleanArraySetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const bool *values) |
Definition at line 116 of file rna_internal_types.hh.
Definition at line 144 of file rna_internal_types.hh.
| using PropBooleanGetFunc = bool (*)(PointerRNA *ptr) |
Definition at line 64 of file rna_internal_types.hh.
| using PropBooleanGetFuncEx = bool (*)(PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 113 of file rna_internal_types.hh.
Definition at line 141 of file rna_internal_types.hh.
| using PropBooleanSetFunc = void (*)(PointerRNA *ptr, bool value) |
Definition at line 65 of file rna_internal_types.hh.
| using PropBooleanSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, bool value) |
Definition at line 114 of file rna_internal_types.hh.
Definition at line 142 of file rna_internal_types.hh.
Definition at line 104 of file rna_internal_types.hh.
| using PropCollectionBeginFunc = void (*)(CollectionPropertyIterator *iter, PointerRNA *ptr) |
Definition at line 95 of file rna_internal_types.hh.
| using PropCollectionEndFunc = void (*)(CollectionPropertyIterator *iter) |
Definition at line 97 of file rna_internal_types.hh.
| using PropCollectionGetFunc = PointerRNA (*)(CollectionPropertyIterator *iter) |
Definition at line 98 of file rna_internal_types.hh.
| using PropCollectionLengthFunc = int (*)(PointerRNA *ptr) |
Definition at line 99 of file rna_internal_types.hh.
| using PropCollectionLookupIntFunc = bool (*)(PointerRNA *ptr, int key, PointerRNA *r_ptr) |
Definition at line 100 of file rna_internal_types.hh.
Definition at line 101 of file rna_internal_types.hh.
| using PropCollectionNextFunc = void (*)(CollectionPropertyIterator *iter) |
Definition at line 96 of file rna_internal_types.hh.
| using PropEnumGetFunc = int (*)(PointerRNA *ptr) |
Definition at line 82 of file rna_internal_types.hh.
| using PropEnumGetFuncEx = int (*)(PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 132 of file rna_internal_types.hh.
Definition at line 155 of file rna_internal_types.hh.
| using PropEnumItemFunc |
Definition at line 84 of file rna_internal_types.hh.
| using PropEnumSetFunc = void (*)(PointerRNA *ptr, int value) |
Definition at line 83 of file rna_internal_types.hh.
| using PropEnumSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, int value) |
Definition at line 133 of file rna_internal_types.hh.
Definition at line 156 of file rna_internal_types.hh.
| using PropFloatArrayGetFunc = void (*)(PointerRNA *ptr, float *values) |
Definition at line 75 of file rna_internal_types.hh.
| using PropFloatArrayGetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, float *values) |
Definition at line 125 of file rna_internal_types.hh.
Definition at line 151 of file rna_internal_types.hh.
| using PropFloatArraySetFunc = void (*)(PointerRNA *ptr, const float *values) |
Definition at line 76 of file rna_internal_types.hh.
| using PropFloatArraySetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const float *values) |
Definition at line 126 of file rna_internal_types.hh.
Definition at line 152 of file rna_internal_types.hh.
| using PropFloatGetFunc = float (*)(PointerRNA *ptr) |
Definition at line 73 of file rna_internal_types.hh.
| using PropFloatGetFuncEx = float (*)(PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 123 of file rna_internal_types.hh.
Definition at line 149 of file rna_internal_types.hh.
| using PropFloatRangeFunc |
Definition at line 77 of file rna_internal_types.hh.
| using PropFloatRangeFuncEx |
Definition at line 127 of file rna_internal_types.hh.
| using PropFloatSetFunc = void (*)(PointerRNA *ptr, float value) |
Definition at line 74 of file rna_internal_types.hh.
| using PropFloatSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, float value) |
Definition at line 124 of file rna_internal_types.hh.
Definition at line 150 of file rna_internal_types.hh.
| using PropIntArrayGetFunc = void (*)(PointerRNA *ptr, int *values) |
Definition at line 70 of file rna_internal_types.hh.
| using PropIntArrayGetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, int *values) |
Definition at line 119 of file rna_internal_types.hh.
Definition at line 147 of file rna_internal_types.hh.
| using PropIntArraySetFunc = void (*)(PointerRNA *ptr, const int *values) |
Definition at line 71 of file rna_internal_types.hh.
| using PropIntArraySetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const int *values) |
Definition at line 120 of file rna_internal_types.hh.
Definition at line 148 of file rna_internal_types.hh.
| using PropIntGetFunc = int (*)(PointerRNA *ptr) |
Definition at line 68 of file rna_internal_types.hh.
| using PropIntGetFuncEx = int (*)(PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 117 of file rna_internal_types.hh.
Definition at line 145 of file rna_internal_types.hh.
| using PropIntRangeFunc = void (*)(PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax) |
Definition at line 72 of file rna_internal_types.hh.
| using PropIntRangeFuncEx |
Definition at line 121 of file rna_internal_types.hh.
| using PropIntSetFunc = void (*)(PointerRNA *ptr, int value) |
Definition at line 69 of file rna_internal_types.hh.
| using PropIntSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, int value) |
Definition at line 118 of file rna_internal_types.hh.
Definition at line 146 of file rna_internal_types.hh.
| using PropPointerGetFunc = PointerRNA (*)(PointerRNA *ptr) |
Definition at line 88 of file rna_internal_types.hh.
| using PropPointerPollFunc = bool (*)(PointerRNA *ptr, const PointerRNA value) |
Definition at line 91 of file rna_internal_types.hh.
| using PropPointerPollFuncPy |
Definition at line 92 of file rna_internal_types.hh.
| using PropPointerSetFunc = void (*)(PointerRNA *ptr, const PointerRNA value, ReportList *reports) |
Definition at line 90 of file rna_internal_types.hh.
| using PropPointerTypeFunc = StructRNA *(*)(PointerRNA * ptr) |
Definition at line 89 of file rna_internal_types.hh.
| using PropStringGetFunc = void (*)(PointerRNA *ptr, char *value) |
Definition at line 79 of file rna_internal_types.hh.
| using PropStringGetFuncEx = std::string (*)(PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 129 of file rna_internal_types.hh.
Definition at line 153 of file rna_internal_types.hh.
| using PropStringLengthFunc = int (*)(PointerRNA *ptr) |
Definition at line 80 of file rna_internal_types.hh.
| using PropStringLengthFuncEx = int (*)(PointerRNA *ptr, PropertyRNA *prop) |
Definition at line 130 of file rna_internal_types.hh.
| using PropStringSetFunc = void (*)(PointerRNA *ptr, const char *value) |
Definition at line 81 of file rna_internal_types.hh.
| using PropStringSetFuncEx = void (*)(PointerRNA *ptr, PropertyRNA *prop, const std::string &value) |
Definition at line 131 of file rna_internal_types.hh.
Definition at line 154 of file rna_internal_types.hh.
| using PropUINameFunc |
Definition at line 59 of file rna_internal_types.hh.
| using RNAPropOverrideApply = bool (*)(Main *bmain, RNAPropertyOverrideApplyContext &rnaapply_ctx) |
Definition at line 326 of file rna_internal_types.hh.
| using RNAPropOverrideDiff = void (*)(Main *bmain, RNAPropertyOverrideDiffContext &rnadiff_ctx) |
Definition at line 263 of file rna_internal_types.hh.
| using RNAPropOverrideStore |
Only used for differential override (add, sub, etc.). Store into storage the value needed to transform reference's value into local's value.
Definition at line 275 of file rna_internal_types.hh.
| using StructPathFunc = std::optional<std::string> (*)(const PointerRNA *ptr) |
Definition at line 58 of file rna_internal_types.hh.
| using StructRefineFunc = StructRNA *(*)(PointerRNA * ptr) |
Definition at line 57 of file rna_internal_types.hh.
| using UpdateFunc = void (*)(Main *bmain, Scene *active_scene, PointerRNA *ptr) |
Update callback for an RNA property.
| bmain | the Main data-base to which ptr data belongs. |
| active_scene | The current active scene (may be NULL in some cases). |
| ptr | The RNA pointer data to update. |
Definition at line 50 of file rna_internal_types.hh.
| enum PropertyFlagIntern |
Internal flags WARNING! 16bits only!
| Enumerator | |
|---|---|
| PROP_INTERN_BUILTIN | |
| PROP_INTERN_RUNTIME | |
| PROP_INTERN_RAW_ACCESS | |
| PROP_INTERN_RAW_ARRAY | |
| PROP_INTERN_FREE_POINTERS | |
| PROP_INTERN_PTR_OWNERSHIP_FORCED | Negative mirror of PROP_PTR_NO_OWNERSHIP, used to prevent automatically setting that one in makesrna when pointer is an ID. |
| PROP_INTERN_PTR_ID_REFCOUNT_FORCED | Indicates that PROP_ID_REFCOUNT has been explicitly set (using RNA_def_property_flag) or cleared (using RNA_def_property_clear_flag) by property definition code, and should therefore not be automatically defined based on STRUCT_ID_REFCOUNT of the property type (in rna_auto_types or RNA_def_property_struct_runtime). |
Definition at line 463 of file rna_internal_types.hh.