Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_ID.h
| Show All 26 Lines | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct FileData; | struct FileData; | ||||
| struct GHash; | |||||
| struct GPUTexture; | struct GPUTexture; | ||||
| struct ID; | struct ID; | ||||
| struct Library; | struct Library; | ||||
| struct PackedFile; | struct PackedFile; | ||||
| /* Runtime display data */ | /* Runtime display data */ | ||||
| struct DrawData; | struct DrawData; | ||||
| typedef void (*DrawDataInitCb)(struct DrawData *engine_data); | typedef void (*DrawDataInitCb)(struct DrawData *engine_data); | ||||
| ▲ Show 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | typedef struct IDOverrideLibraryProperty { | ||||
| * *Does not* include indices/names for final arrays/collections items. | * *Does not* include indices/names for final arrays/collections items. | ||||
| */ | */ | ||||
| char *rna_path; | char *rna_path; | ||||
| /** List of overriding operations (IDOverridePropertyOperation) applied to this property. */ | /** List of overriding operations (IDOverridePropertyOperation) applied to this property. */ | ||||
| ListBase operations; | ListBase operations; | ||||
| } IDOverrideLibraryProperty; | } IDOverrideLibraryProperty; | ||||
| /* We do not need a full struct for that currently, just a GHash. */ | |||||
| typedef struct GHash IDOverrideLibraryRuntime; | |||||
| /* Main container for all overriding data info of a data-block. */ | /* Main container for all overriding data info of a data-block. */ | ||||
| typedef struct IDOverrideLibrary { | typedef struct IDOverrideLibrary { | ||||
| /** Reference linked ID which this one overrides. */ | /** Reference linked ID which this one overrides. */ | ||||
| struct ID *reference; | struct ID *reference; | ||||
| /** List of IDOverrideProperty structs. */ | /** List of IDOverrideProperty structs. */ | ||||
| ListBase properties; | ListBase properties; | ||||
| short flag; | short flag; | ||||
| char _pad[6]; | char _pad[6]; | ||||
| /* Read/write data. */ | /* Read/write data. */ | ||||
| /* Temp ID storing extra override data (used for differential operations only currently). | /* Temp ID storing extra override data (used for differential operations only currently). | ||||
| * Always NULL outside of read/write context. */ | * Always NULL outside of read/write context. */ | ||||
| struct ID *storage; | struct ID *storage; | ||||
| IDOverrideLibraryRuntime *runtime; | |||||
| } IDOverrideLibrary; | } IDOverrideLibrary; | ||||
| enum eOverrideLibrary_Flag { | enum eOverrideLibrary_Flag { | ||||
| OVERRIDE_LIBRARY_AUTO = 1 << 0, /* Allow automatic generation of overriding rules. */ | OVERRIDE_LIBRARY_AUTO = 1 << 0, /* Allow automatic generation of overriding rules. */ | ||||
| }; | }; | ||||
| /* watch it: Sequence has identical beginning. */ | /* watch it: Sequence has identical beginning. */ | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 525 Lines • Show Last 20 Lines | |||||