Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_build.h
| Show All 36 Lines | |||||
| /* Dependency Graph */ | /* Dependency Graph */ | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| /* ------------------------------------------------ */ | /* ------------------------------------------------ */ | ||||
| struct Main; | struct Main; | ||||
| struct Scene; | struct Scene; | ||||
| struct Group; | |||||
| struct EffectorWeights; | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* Graph Building -------------------------------- */ | /* Graph Building -------------------------------- */ | ||||
| /* Build depsgraph for the given scene, and dump results in given graph container */ | /* Build depsgraph for the given scene, and dump results in given graph container */ | ||||
| ▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
| void DEG_add_scene_relation(struct DepsNodeHandle *node, struct Scene *scene, eDepsSceneComponentType component, const char *description); | void DEG_add_scene_relation(struct DepsNodeHandle *node, struct Scene *scene, eDepsSceneComponentType component, const char *description); | ||||
| void DEG_add_object_relation(struct DepsNodeHandle *node, struct Object *ob, eDepsObjectComponentType component, const char *description); | void DEG_add_object_relation(struct DepsNodeHandle *node, struct Object *ob, eDepsObjectComponentType component, const char *description); | ||||
| void DEG_add_bone_relation(struct DepsNodeHandle *handle, struct Object *ob, const char *bone_name, eDepsObjectComponentType component, const char *description); | void DEG_add_bone_relation(struct DepsNodeHandle *handle, struct Object *ob, const char *bone_name, eDepsObjectComponentType component, const char *description); | ||||
| void DEG_add_object_cache_relation(struct DepsNodeHandle *handle, struct CacheFile *cache_file, eDepsObjectComponentType component, const char *description); | void DEG_add_object_cache_relation(struct DepsNodeHandle *handle, struct CacheFile *cache_file, eDepsObjectComponentType component, const char *description); | ||||
| /* TODO(sergey): Remove once all geometry update is granular. */ | /* TODO(sergey): Remove once all geometry update is granular. */ | ||||
| void DEG_add_special_eval_flag(struct Depsgraph *graph, struct ID *id, short flag); | void DEG_add_special_eval_flag(struct Depsgraph *graph, struct ID *id, short flag); | ||||
| /* TODO: duplication of type in BKE_collision.h */ | |||||
| typedef bool (*DEG_CollobjFilterFunction)(struct Object *obj, struct ModifierData *md); | |||||
| void DEG_add_collision_relations(struct DepsNodeHandle *handle, struct Scene *scene, Object *ob, struct Group *group, int layer, unsigned int modifier_type, DEG_CollobjFilterFunction fn, bool dupli, const char *name); | |||||
| void DEG_add_forcefield_relations(struct DepsNodeHandle *handle, struct Scene *scene, Object *ob, struct EffectorWeights *eff, bool add_absorption, int skip_forcefield, const char *name); | |||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } /* extern "C" */ | } /* extern "C" */ | ||||
| #endif | #endif | ||||
| #endif /* __DEG_DEPSGRAPH_BUILD_H__ */ | #endif /* __DEG_DEPSGRAPH_BUILD_H__ */ | ||||