23 {
PF_REMOVE,
"REMOVE", 0,
"Remove Pack",
""},
25 {
PF_WRITE_LOCAL,
"WRITE_LOCAL", 0,
"Write Local File (overwrite existing)",
""},
27 {
PF_WRITE_ORIGINAL,
"WRITE_ORIGINAL", 0,
"Write Original File (overwrite existing)",
""},
28 {0,
nullptr, 0,
nullptr,
nullptr},
33static void rna_PackedImage_data_get(
PointerRNA *
ptr,
char *value)
36 memcpy(value,
pf->data,
size_t(
pf->size));
37 value[
pf->size] =
'\0';
62 prop,
"rna_PackedImage_data_get",
"rna_PackedImage_data_len",
nullptr);
#define pf(_x, _i)
Prefetch 64.
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_packedfile(BlenderRNA *brna)
const EnumPropertyItem rna_enum_unpack_method_items[]