10#ifndef __RNA_TYPES_H__
11#define __RNA_TYPES_H__
126 return static_cast<T *
>(this->data);
218#define RNA_SUBTYPE_UNIT(subtype) ((subtype) & 0x00FF0000)
219#define RNA_SUBTYPE_VALUE(subtype) ((subtype) & ~0x00FF0000)
220#define RNA_SUBTYPE_UNIT_VALUE(subtype) ((subtype) >> 16)
222#define RNA_ENUM_BITFLAG_SIZE 32
224#define RNA_TRANSLATION_PREC_DEFAULT 5
226#define RNA_STACK_ARRAY 32
673#define RNA_ENUM_ITEM_HEADING(name, description) {0, "", 0, name, description}
676#define RNA_ENUM_ITEM_SEPR {0, "", 0, NULL, NULL}
679#define RNA_ENUM_ITEM_SEPR_COLUMN RNA_ENUM_ITEM_HEADING("", NULL)
700 const bool *r_values);
705 const bool *new_values,
706 const bool *curr_values,
724 const int *new_values,
725 const int *curr_values,
742 const float *values);
747 const float *new_values,
748 const float *curr_values,
758 const std::string &value);
761 const std::string &value,
765 const std::string &new_value,
766 const std::string &curr_value,
773 std::optional<std::string>
info;
810 const
char *edit_text,
void BLI_kdtree_nd_ free(KDTree *tree)
#define ENUM_OPERATORS(_type, _max)
void(*)(PointerRNA *ptr, PropertyRNA *prop, int *min, int *max, int *softmin, int *softmax) IntPropertyRangeFunc
@ PARM_PYFUNC_REGISTER_OPTIONAL
int(*)(PointerRNA *ptr, PropertyRNA *prop) EnumPropertyGetFunc
bool(*)(CollectionPropertyIterator *iter, void *data) IteratorSkipFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, const std::string &value) StringPropertySetFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, const float *new_values, const float *curr_values, bool is_set, float *r_values) FloatArrayPropertySetTransformFunc
float(*)(PointerRNA *ptr, PropertyRNA *prop, float value, bool is_set) FloatPropertyGetTransformFunc
constexpr int64_t ANCESTOR_POINTERRNA_DEFAULT_SIZE
int(*)(PointerRNA *ptr, PropertyRNA *prop) StringPropertyLengthFunc
@ STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID
@ STRUCT_PUBLIC_NAMESPACE
@ STRUCT_NO_DATABLOCK_IDPROPERTIES
@ STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES
@ STRUCT_PUBLIC_NAMESPACE_INHERIT
void(*)(PointerRNA *ptr, PropertyRNA *prop, const int *new_values, const int *curr_values, bool is_set, int *r_values) IntArrayPropertySetTransformFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, const bool *r_values) BooleanArrayPropertySetFunc
const EnumPropertyItem *(*)(bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free) EnumPropertyItemFunc
int(*)(PointerRNA *ptr, PropertyRNA *prop, int value, bool is_set) EnumPropertyGetTransformFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, float *values) FloatArrayPropertyGetFunc
int(*)(PointerRNA *ptr, PropertyRNA *prop, int value, bool is_set) IntPropertyGetTransformFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, bool *r_values) BooleanArrayPropertyGetFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, const bool *new_values, const bool *curr_values, bool is_set, bool *r_values) BooleanArrayPropertySetTransformFunc
eStringPropertySearchFlag
@ PROP_STRING_SEARCH_SUGGESTION
@ PROP_STRING_SEARCH_SORT
@ PROP_STRING_SEARCH_SUPPORTED
void(*)(PointerRNA *ptr, PropertyRNA *prop, int *values) IntArrayPropertyGetFunc
StructRNA *(*)(Main *bmain, ReportList *reports, void *data, const char *identifier, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free) StructRegisterFunc
int(*)(PointerRNA *ptr, void *data, bool *have_function) StructValidateFunc
void(*)( PointerRNA *ptr, PropertyRNA *prop, const bool *curr_values, bool is_set, bool *r_values) BooleanArrayPropertyGetTransformFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, int value) EnumPropertySetFunc
std::string(*)(PointerRNA *ptr, PropertyRNA *prop) StringPropertyGetFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, const int *values) IntArrayPropertySetFunc
void(*)( PointerRNA *ptr, PropertyRNA *prop, const float *curr_values, bool is_set, float *r_values) FloatArrayPropertyGetTransformFunc
std::string(*)(PointerRNA *ptr, PropertyRNA *prop, const std::string &value, bool is_set) StringPropertyGetTransformFunc
int(*)(bContext *C, PointerRNA *ptr, FunctionRNA *func, ParameterList *list) StructCallbackFunc
bool(*)(Main *bmain, StructRNA *type) StructUnregisterFunc
void(*)(void *data) StructFreeFunc
bool(*)(PointerRNA *ptr, PropertyRNA *prop) BooleanPropertyGetFunc
void(*)(const bContext *C, PointerRNA *ptr, PropertyRNA *prop, const char *edit_text, blender::FunctionRef< void(StringPropertySearchVisitParams)> visit_fn) StringPropertySearchFunc
@ PROP_UNIT_TIME_ABSOLUTE
@ PROP_UNIT_COLOR_TEMPERATURE
bool(*)(PointerRNA *ptr, PropertyRNA *prop, bool value, bool is_set) BooleanPropertyGetTransformFunc
int(*)(PointerRNA *ptr, PropertyRNA *prop, int new_value, int curr_value, bool is_set) IntPropertySetTransformFunc
float(*)(PointerRNA *ptr, PropertyRNA *prop) FloatPropertyGetFunc
int(*)(PointerRNA *ptr, PropertyRNA *prop) IntPropertyGetFunc
void(*)( PointerRNA *ptr, PropertyRNA *prop, const int *curr_values, bool is_set, int *r_values) IntArrayPropertyGetTransformFunc
void(*)( PointerRNA *ptr, PropertyRNA *prop, float *min, float *max, float *softmin, float *softmax) FloatPropertyRangeFunc
float(*)(PointerRNA *ptr, PropertyRNA *prop, float new_value, float curr_value, bool is_set) FloatPropertySetTransformFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, float value) FloatPropertySetFunc
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
@ PROPOVERRIDE_NO_COMPARISON
@ PROPOVERRIDE_LIBRARY_INSERTION
@ PROPOVERRIDE_NO_PROP_NAME
bool(*)(PointerRNA *ptr, PropertyRNA *prop, bool new_value, bool curr_value, bool is_set) BooleanPropertySetTransformFunc
int(*)(PointerRNA *ptr, PropertyRNA *prop, int new_value, int curr_value, bool is_set) EnumPropertySetTransformFunc
@ PROP_VARIABLES_RENDER_OUTPUT
void(*)(PointerRNA *ptr, PropertyRNA *prop, int value) IntPropertySetFunc
void(*)(bContext *C, ReportList *reports, PointerRNA *ptr, ParameterList *parms) CallFunc
std::string(*)(PointerRNA *ptr, PropertyRNA *prop, const std::string &new_value, const std::string &curr_value, bool is_set) StringPropertySetTransformFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, const float *values) FloatArrayPropertySetFunc
@ PROP_PATH_SUPPORTS_BLEND_RELATIVE
@ PROP_CONTEXT_PROPERTY_UPDATE
@ PROP_PATH_SUPPORTS_TEMPLATES
std::optional< std::string >(*)(const bContext *C, PointerRNA *ptr, PropertyRNA *prop) StringPropertyPathFilterFunc
void(*)(PointerRNA *ptr, PropertyRNA *prop, bool value) BooleanPropertySetFunc
void **(*)(PointerRNA *ptr) StructInstanceFunc
BMesh const char void * data
void append(const T &value)
const PointerRNA PointerRNA_NULL
union CollectionPropertyIterator::@220100362304005352221007113371015217044252346141 internal
PointerRNA builtin_parent
ListBaseIterator listbase
blender::Vector< PointerRNA > items
PointerRNA(ID *owner_id, StructRNA *type, void *data)
PointerRNA(PointerRNA &&)=default
blender::Vector< AncestorPointerRNA, ANCESTOR_POINTERRNA_DEFAULT_SIZE > ancestors
PointerRNA(const PointerRNA &)=default
PointerRNA(ID *owner_id, StructRNA *type, void *data, const PointerRNA &parent)
PointerRNA & operator=(const PointerRNA &other)=default
PointerRNA(ID *owner_id, StructRNA *type, void *data, blender::Span< AncestorPointerRNA > parents)
PointerRNA & operator=(PointerRNA &&other)=default
PointerRNA parent() const
std::optional< int > icon_id
std::optional< std::string > info