Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | PropertyRNAOrID |
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) (*(const char **)(((ContainerRNA *)(cont)) + 1)) |
Typedefs | |
typedef struct IDProperty | IDProperty |
typedef void(* | UpdateFunc) (struct Main *bmain, struct Scene *active_scene, struct PointerRNA *ptr) |
typedef void(* | ContextPropUpdateFunc) (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop) |
typedef void(* | ContextUpdateFunc) (struct bContext *C, struct PointerRNA *ptr) |
typedef int(* | EditableFunc) (struct PointerRNA *ptr, const char **r_info) |
typedef int(* | ItemEditableFunc) (struct PointerRNA *ptr, int index) |
typedef struct IDProperty **(* | IDPropertiesFunc) (struct PointerRNA *ptr) |
typedef struct StructRNA *(* | StructRefineFunc) (struct PointerRNA *ptr) |
typedef char *(* | StructPathFunc) (const struct PointerRNA *ptr) |
typedef int(* | PropArrayLengthGetFunc) (const struct PointerRNA *ptr, int length[RNA_MAX_ARRAY_DIMENSION]) |
typedef bool(* | PropBooleanGetFunc) (struct PointerRNA *ptr) |
typedef void(* | PropBooleanSetFunc) (struct PointerRNA *ptr, bool value) |
typedef void(* | PropBooleanArrayGetFunc) (struct PointerRNA *ptr, bool *values) |
typedef void(* | PropBooleanArraySetFunc) (struct PointerRNA *ptr, const bool *values) |
typedef int(* | PropIntGetFunc) (struct PointerRNA *ptr) |
typedef void(* | PropIntSetFunc) (struct PointerRNA *ptr, int value) |
typedef void(* | PropIntArrayGetFunc) (struct PointerRNA *ptr, int *values) |
typedef void(* | PropIntArraySetFunc) (struct PointerRNA *ptr, const int *values) |
typedef void(* | PropIntRangeFunc) (struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax) |
typedef float(* | PropFloatGetFunc) (struct PointerRNA *ptr) |
typedef void(* | PropFloatSetFunc) (struct PointerRNA *ptr, float value) |
typedef void(* | PropFloatArrayGetFunc) (struct PointerRNA *ptr, float *values) |
typedef void(* | PropFloatArraySetFunc) (struct PointerRNA *ptr, const float *values) |
typedef void(* | PropFloatRangeFunc) (struct PointerRNA *ptr, float *min, float *max, float *softmin, float *softmax) |
typedef void(* | PropStringGetFunc) (struct PointerRNA *ptr, char *value) |
typedef int(* | PropStringLengthFunc) (struct PointerRNA *ptr) |
typedef void(* | PropStringSetFunc) (struct PointerRNA *ptr, const char *value) |
typedef int(* | PropEnumGetFunc) (struct PointerRNA *ptr) |
typedef void(* | PropEnumSetFunc) (struct PointerRNA *ptr, int value) |
typedef const EnumPropertyItem *(* | PropEnumItemFunc) (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free) |
typedef PointerRNA(* | PropPointerGetFunc) (struct PointerRNA *ptr) |
typedef StructRNA *(* | PropPointerTypeFunc) (struct PointerRNA *ptr) |
typedef void(* | PropPointerSetFunc) (struct PointerRNA *ptr, const PointerRNA value, struct ReportList *reports) |
typedef bool(* | PropPointerPollFunc) (struct PointerRNA *ptr, const PointerRNA value) |
typedef bool(* | PropPointerPollFuncPy) (struct PointerRNA *ptr, const PointerRNA value, const PropertyRNA *prop) |
typedef void(* | PropCollectionBeginFunc) (struct CollectionPropertyIterator *iter, struct PointerRNA *ptr) |
typedef void(* | PropCollectionNextFunc) (struct CollectionPropertyIterator *iter) |
typedef void(* | PropCollectionEndFunc) (struct CollectionPropertyIterator *iter) |
typedef PointerRNA(* | PropCollectionGetFunc) (struct CollectionPropertyIterator *iter) |
typedef int(* | PropCollectionLengthFunc) (struct PointerRNA *ptr) |
typedef int(* | PropCollectionLookupIntFunc) (struct PointerRNA *ptr, int key, struct PointerRNA *r_ptr) |
typedef int(* | PropCollectionLookupStringFunc) (struct PointerRNA *ptr, const char *key, struct PointerRNA *r_ptr) |
typedef int(* | PropCollectionAssignIntFunc) (struct PointerRNA *ptr, int key, const struct PointerRNA *assign_ptr) |
typedef bool(* | PropBooleanGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
typedef void(* | PropBooleanSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, bool value) |
typedef void(* | PropBooleanArrayGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, bool *values) |
typedef void(* | PropBooleanArraySetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const bool *values) |
typedef int(* | PropIntGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
typedef void(* | PropIntSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int value) |
typedef void(* | PropIntArrayGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int *values) |
typedef void(* | PropIntArraySetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const int *values) |
typedef void(* | PropIntRangeFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int *min, int *max, int *softmin, int *softmax) |
typedef float(* | PropFloatGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
typedef void(* | PropFloatSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, float value) |
typedef void(* | PropFloatArrayGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, float *values) |
typedef void(* | PropFloatArraySetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const float *values) |
typedef void(* | PropFloatRangeFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, float *min, float *max, float *softmin, float *softmax) |
typedef void(* | PropStringGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, char *value) |
typedef int(* | PropStringLengthFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
typedef void(* | PropStringSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const char *value) |
typedef int(* | PropEnumGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
typedef void(* | PropEnumSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int value) |
typedef struct PropertyRNAOrID | PropertyRNAOrID |
typedef int(* | RNAPropOverrideDiff) (struct Main *bmain, struct PropertyRNAOrID *prop_a, struct PropertyRNAOrID *prop_b, int mode, struct IDOverrideLibrary *override, const char *rna_path, size_t rna_path_len, int flags, bool *r_override_changed) |
typedef bool(* | RNAPropOverrideStore) (struct Main *bmain, struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_local, struct PropertyRNA *prop_reference, struct PropertyRNA *prop_storage, int len_local, int len_reference, int len_storage, struct IDOverrideLibraryPropertyOperation *opop) |
typedef bool(* | RNAPropOverrideApply) (struct Main *bmain, struct PointerRNA *ptr_dst, struct PointerRNA *ptr_src, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_dst, struct PropertyRNA *prop_src, struct PropertyRNA *prop_storage, int len_dst, int len_src, int len_storage, struct PointerRNA *ptr_item_dst, struct PointerRNA *ptr_item_src, struct PointerRNA *ptr_item_storage, struct IDOverrideLibraryPropertyOperation *opop) |
typedef struct ContainerRNA | ContainerRNA |
typedef enum PropertyFlagIntern | PropertyFlagIntern |
typedef struct BoolPropertyRNA | BoolPropertyRNA |
typedef struct IntPropertyRNA | IntPropertyRNA |
typedef struct FloatPropertyRNA | FloatPropertyRNA |
typedef struct StringPropertyRNA | StringPropertyRNA |
typedef struct EnumPropertyRNA | EnumPropertyRNA |
typedef struct PointerPropertyRNA | PointerPropertyRNA |
typedef struct CollectionPropertyRNA | CollectionPropertyRNA |
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) } |
#define CONTAINER_RNA_ID | ( | cont | ) | (*(const char **)(((ContainerRNA *)(cont)) + 1)) |
Definition at line 586 of file rna_internal_types.h.
typedef struct BoolPropertyRNA BoolPropertyRNA |
typedef struct CollectionPropertyRNA CollectionPropertyRNA |
typedef struct ContainerRNA ContainerRNA |
typedef void(* ContextPropUpdateFunc) (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop) |
Definition at line 44 of file rna_internal_types.h.
typedef void(* ContextUpdateFunc) (struct bContext *C, struct PointerRNA *ptr) |
Definition at line 47 of file rna_internal_types.h.
typedef int(* EditableFunc) (struct PointerRNA *ptr, const char **r_info) |
Definition at line 49 of file rna_internal_types.h.
typedef struct EnumPropertyRNA EnumPropertyRNA |
typedef struct FloatPropertyRNA FloatPropertyRNA |
typedef struct IDProperty**(* IDPropertiesFunc) (struct PointerRNA *ptr) |
Definition at line 50 of file rna_internal_types.h.
typedef struct IDProperty IDProperty |
Definition at line 1 of file rna_internal_types.h.
typedef struct IntPropertyRNA IntPropertyRNA |
typedef int(* ItemEditableFunc) (struct PointerRNA *ptr, int index) |
Definition at line 50 of file rna_internal_types.h.
typedef struct PointerPropertyRNA PointerPropertyRNA |
typedef int(* PropArrayLengthGetFunc) (const struct PointerRNA *ptr, int length[RNA_MAX_ARRAY_DIMENSION]) |
Definition at line 55 of file rna_internal_types.h.
typedef void(* PropBooleanArrayGetFunc) (struct PointerRNA *ptr, bool *values) |
Definition at line 59 of file rna_internal_types.h.
typedef void(* PropBooleanArrayGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, bool *values) |
Definition at line 110 of file rna_internal_types.h.
typedef void(* PropBooleanArraySetFunc) (struct PointerRNA *ptr, const bool *values) |
Definition at line 60 of file rna_internal_types.h.
typedef void(* PropBooleanArraySetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const bool *values) |
Definition at line 113 of file rna_internal_types.h.
typedef bool(* PropBooleanGetFunc) (struct PointerRNA *ptr) |
Definition at line 57 of file rna_internal_types.h.
typedef bool(* PropBooleanGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
Definition at line 108 of file rna_internal_types.h.
typedef void(* PropBooleanSetFunc) (struct PointerRNA *ptr, bool value) |
Definition at line 58 of file rna_internal_types.h.
typedef void(* PropBooleanSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, bool value) |
Definition at line 109 of file rna_internal_types.h.
typedef int(* PropCollectionAssignIntFunc) (struct PointerRNA *ptr, int key, const struct PointerRNA *assign_ptr) |
Definition at line 103 of file rna_internal_types.h.
typedef void(* PropCollectionBeginFunc) (struct CollectionPropertyIterator *iter, struct PointerRNA *ptr) |
Definition at line 91 of file rna_internal_types.h.
typedef void(* PropCollectionEndFunc) (struct CollectionPropertyIterator *iter) |
Definition at line 94 of file rna_internal_types.h.
typedef PointerRNA(* PropCollectionGetFunc) (struct CollectionPropertyIterator *iter) |
Definition at line 95 of file rna_internal_types.h.
typedef int(* PropCollectionLengthFunc) (struct PointerRNA *ptr) |
Definition at line 96 of file rna_internal_types.h.
typedef int(* PropCollectionLookupIntFunc) (struct PointerRNA *ptr, int key, struct PointerRNA *r_ptr) |
Definition at line 97 of file rna_internal_types.h.
typedef int(* PropCollectionLookupStringFunc) (struct PointerRNA *ptr, const char *key, struct PointerRNA *r_ptr) |
Definition at line 100 of file rna_internal_types.h.
typedef void(* PropCollectionNextFunc) (struct CollectionPropertyIterator *iter) |
Definition at line 93 of file rna_internal_types.h.
typedef int(* PropEnumGetFunc) (struct PointerRNA *ptr) |
Definition at line 76 of file rna_internal_types.h.
typedef int(* PropEnumGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
Definition at line 149 of file rna_internal_types.h.
typedef const EnumPropertyItem*(* PropEnumItemFunc) (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free) |
Definition at line 78 of file rna_internal_types.h.
typedef void(* PropEnumSetFunc) (struct PointerRNA *ptr, int value) |
Definition at line 77 of file rna_internal_types.h.
typedef void(* PropEnumSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int value) |
Definition at line 150 of file rna_internal_types.h.
typedef enum PropertyFlagIntern PropertyFlagIntern |
typedef struct PropertyRNAOrID PropertyRNAOrID |
Structure storing all needed data to process all three kinds of RNA properties.
typedef void(* PropFloatArrayGetFunc) (struct PointerRNA *ptr, float *values) |
Definition at line 69 of file rna_internal_types.h.
typedef void(* PropFloatArrayGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, float *values) |
Definition at line 132 of file rna_internal_types.h.
typedef void(* PropFloatArraySetFunc) (struct PointerRNA *ptr, const float *values) |
Definition at line 70 of file rna_internal_types.h.
typedef void(* PropFloatArraySetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const float *values) |
Definition at line 135 of file rna_internal_types.h.
typedef float(* PropFloatGetFunc) (struct PointerRNA *ptr) |
Definition at line 67 of file rna_internal_types.h.
typedef float(* PropFloatGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
Definition at line 130 of file rna_internal_types.h.
typedef void(* PropFloatRangeFunc) (struct PointerRNA *ptr, float *min, float *max, float *softmin, float *softmax) |
Definition at line 71 of file rna_internal_types.h.
typedef void(* PropFloatRangeFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, float *min, float *max, float *softmin, float *softmax) |
Definition at line 138 of file rna_internal_types.h.
typedef void(* PropFloatSetFunc) (struct PointerRNA *ptr, float value) |
Definition at line 68 of file rna_internal_types.h.
typedef void(* PropFloatSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, float value) |
Definition at line 131 of file rna_internal_types.h.
typedef void(* PropIntArrayGetFunc) (struct PointerRNA *ptr, int *values) |
Definition at line 63 of file rna_internal_types.h.
typedef void(* PropIntArrayGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int *values) |
Definition at line 118 of file rna_internal_types.h.
typedef void(* PropIntArraySetFunc) (struct PointerRNA *ptr, const int *values) |
Definition at line 64 of file rna_internal_types.h.
typedef void(* PropIntArraySetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const int *values) |
Definition at line 121 of file rna_internal_types.h.
typedef int(* PropIntGetFunc) (struct PointerRNA *ptr) |
Definition at line 61 of file rna_internal_types.h.
typedef int(* PropIntGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
Definition at line 116 of file rna_internal_types.h.
typedef void(* PropIntRangeFunc) (struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax) |
Definition at line 65 of file rna_internal_types.h.
typedef void(* PropIntRangeFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int *min, int *max, int *softmin, int *softmax) |
Definition at line 124 of file rna_internal_types.h.
typedef void(* PropIntSetFunc) (struct PointerRNA *ptr, int value) |
Definition at line 62 of file rna_internal_types.h.
typedef void(* PropIntSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, int value) |
Definition at line 117 of file rna_internal_types.h.
typedef PointerRNA(* PropPointerGetFunc) (struct PointerRNA *ptr) |
Definition at line 82 of file rna_internal_types.h.
typedef bool(* PropPointerPollFunc) (struct PointerRNA *ptr, const PointerRNA value) |
Definition at line 87 of file rna_internal_types.h.
typedef bool(* PropPointerPollFuncPy) (struct PointerRNA *ptr, const PointerRNA value, const PropertyRNA *prop) |
Definition at line 88 of file rna_internal_types.h.
typedef void(* PropPointerSetFunc) (struct PointerRNA *ptr, const PointerRNA value, struct ReportList *reports) |
Definition at line 84 of file rna_internal_types.h.
typedef StructRNA*(* PropPointerTypeFunc) (struct PointerRNA *ptr) |
Definition at line 83 of file rna_internal_types.h.
typedef void(* PropStringGetFunc) (struct PointerRNA *ptr, char *value) |
Definition at line 73 of file rna_internal_types.h.
typedef void(* PropStringGetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, char *value) |
Definition at line 144 of file rna_internal_types.h.
typedef int(* PropStringLengthFunc) (struct PointerRNA *ptr) |
Definition at line 74 of file rna_internal_types.h.
typedef int(* PropStringLengthFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop) |
Definition at line 145 of file rna_internal_types.h.
typedef void(* PropStringSetFunc) (struct PointerRNA *ptr, const char *value) |
Definition at line 75 of file rna_internal_types.h.
typedef void(* PropStringSetFuncEx) (struct PointerRNA *ptr, struct PropertyRNA *prop, const char *value) |
Definition at line 146 of file rna_internal_types.h.
typedef bool(* RNAPropOverrideApply) (struct Main *bmain, struct PointerRNA *ptr_dst, struct PointerRNA *ptr_src, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_dst, struct PropertyRNA *prop_src, struct PropertyRNA *prop_storage, int len_dst, int len_src, int len_storage, struct PointerRNA *ptr_item_dst, struct PointerRNA *ptr_item_src, struct PointerRNA *ptr_item_storage, struct IDOverrideLibraryPropertyOperation *opop) |
Apply given override operation from src to dst (using value from storage as second operand for differential operations).
Definition at line 239 of file rna_internal_types.h.
typedef int(* RNAPropOverrideDiff) (struct Main *bmain, struct PropertyRNAOrID *prop_a, struct PropertyRNAOrID *prop_b, int mode, struct IDOverrideLibrary *override, const char *rna_path, size_t rna_path_len, int flags, bool *r_override_changed) |
If override is NULL, merely do comparison between prop_a and prop_b, following comparison mode given. If override and rna_path are not NULL, it will add a new override operation for overridable properties that differ and have not yet been overridden (and set accordingly r_override_changed if given).
Definition at line 200 of file rna_internal_types.h.
typedef bool(* RNAPropOverrideStore) (struct Main *bmain, struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_local, struct PropertyRNA *prop_reference, struct PropertyRNA *prop_storage, int len_local, int len_reference, int len_storage, struct IDOverrideLibraryPropertyOperation *opop) |
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 220 of file rna_internal_types.h.
typedef struct StringPropertyRNA StringPropertyRNA |
typedef char*(* StructPathFunc) (const struct PointerRNA *ptr) |
Definition at line 53 of file rna_internal_types.h.
typedef struct StructRNA*(* StructRefineFunc) (struct PointerRNA *ptr) |
Definition at line 50 of file rna_internal_types.h.
typedef void(* UpdateFunc) (struct Main *bmain, struct Scene *active_scene, struct 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 43 of file rna_internal_types.h.
enum PropertyFlagIntern |
Enumerator | |
---|---|
PROP_INTERN_BUILTIN | |
PROP_INTERN_RUNTIME | |
PROP_INTERN_RAW_ACCESS | |
PROP_INTERN_RAW_ARRAY | |
PROP_INTERN_FREE_POINTERS | |
PROP_INTERN_PTR_OWNERSHIP_FORCED |
Definition at line 353 of file rna_internal_types.h.