Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_query.h
| Show All 21 Lines | |||||
| struct CustomData_MeshMasks; | struct CustomData_MeshMasks; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct DupliObject; | struct DupliObject; | ||||
| struct ID; | struct ID; | ||||
| struct ListBase; | struct ListBase; | ||||
| struct PointerRNA; | struct PointerRNA; | ||||
| struct Scene; | struct Scene; | ||||
| struct ViewLayer; | struct ViewLayer; | ||||
| struct ViewerPath; | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name DEG input data | /** \name DEG input data | ||||
| * \{ */ | * \{ */ | ||||
| ▲ Show 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | typedef struct DEGObjectIterSettings { | ||||
| /** | /** | ||||
| * Bit-field of the #DegIterFlag. | * Bit-field of the #DegIterFlag. | ||||
| * | * | ||||
| * NOTE: Be careful with #DEG_ITER_OBJECT_FLAG_LINKED_INDIRECTLY objects. | * NOTE: Be careful with #DEG_ITER_OBJECT_FLAG_LINKED_INDIRECTLY objects. | ||||
| * Although they are available they have no overrides (collection_properties) | * Although they are available they have no overrides (collection_properties) | ||||
| * and will crash if you try to access it. | * and will crash if you try to access it. | ||||
| */ | */ | ||||
| uint32_t flags; | uint32_t flags; | ||||
| /** | |||||
| * When set, the final evaluated geometry of the corresponding object is omitted. Instead the | |||||
| * geometry for the viewer path included in the iterator. | |||||
| */ | |||||
| const struct ViewerPath *viewer_path; | |||||
| } DEGObjectIterSettings; | } DEGObjectIterSettings; | ||||
| /** | /** | ||||
| * Flags to to get objects for draw manager and final render. | * Flags to to get objects for draw manager and final render. | ||||
| */ | */ | ||||
| #define DEG_OBJECT_ITER_FOR_RENDER_ENGINE_FLAGS \ | #define DEG_OBJECT_ITER_FOR_RENDER_ENGINE_FLAGS \ | ||||
| DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY | DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET | \ | DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY | DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET | \ | ||||
| DEG_ITER_OBJECT_FLAG_VISIBLE | DEG_ITER_OBJECT_FLAG_DUPLI | DEG_ITER_OBJECT_FLAG_VISIBLE | DEG_ITER_OBJECT_FLAG_DUPLI | ||||
| typedef struct DEGObjectIterData { | typedef struct DEGObjectIterData { | ||||
| DEGObjectIterSettings *settings; | DEGObjectIterSettings *settings; | ||||
| struct Depsgraph *graph; | struct Depsgraph *graph; | ||||
| int flag; | int flag; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| eEvaluationMode eval_mode; | eEvaluationMode eval_mode; | ||||
| /** Object whose preview instead of evaluated geometry should be part of the iterator. */ | |||||
| struct Object *object_orig_with_preview; | |||||
| struct Object *next_object; | struct Object *next_object; | ||||
| /* **** Iteration over dupli-list. *** */ | /* **** Iteration over dupli-list. *** */ | ||||
| /* Object which created the dupli-list. */ | /* Object which created the dupli-list. */ | ||||
| struct Object *dupli_parent; | struct Object *dupli_parent; | ||||
| /* List of duplicated objects. */ | /* List of duplicated objects. */ | ||||
| struct ListBase *dupli_list; | struct ListBase *dupli_list; | ||||
| ▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines | |||||