Blender  V2.93
Functions
depsgraph_query.cc File Reference
#include "MEM_guardedalloc.h"
#include <cstring>
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "BKE_action.h"
#include "BKE_customdata.h"
#include "BKE_idtype.h"
#include "BKE_main.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "RNA_access.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "intern/depsgraph.h"
#include "intern/eval/deg_eval_copy_on_write.h"
#include "intern/node/deg_node_id.h"

Go to the source code of this file.

Functions

struct SceneDEG_get_input_scene (const Depsgraph *graph)
 
struct ViewLayerDEG_get_input_view_layer (const Depsgraph *graph)
 
struct MainDEG_get_bmain (const Depsgraph *graph)
 
eEvaluationMode DEG_get_mode (const Depsgraph *graph)
 
float DEG_get_ctime (const Depsgraph *graph)
 
bool DEG_id_type_updated (const Depsgraph *graph, short id_type)
 
bool DEG_id_type_any_updated (const Depsgraph *graph)
 
bool DEG_id_type_any_exists (const Depsgraph *depsgraph, short id_type)
 
uint32_t DEG_get_eval_flags_for_id (const Depsgraph *graph, ID *id)
 
void DEG_get_customdata_mask_for_object (const Depsgraph *graph, Object *ob, CustomData_MeshMasks *r_mask)
 
SceneDEG_get_evaluated_scene (const Depsgraph *graph)
 
ViewLayerDEG_get_evaluated_view_layer (const Depsgraph *graph)
 
ObjectDEG_get_evaluated_object (const Depsgraph *depsgraph, Object *object)
 
IDDEG_get_evaluated_id (const Depsgraph *depsgraph, ID *id)
 
void DEG_get_evaluated_rna_pointer (const Depsgraph *depsgraph, PointerRNA *ptr, PointerRNA *r_ptr_eval)
 
ObjectDEG_get_original_object (Object *object)
 
IDDEG_get_original_id (ID *id)
 
bool DEG_is_original_id (const ID *id)
 
bool DEG_is_original_object (const Object *object)
 
bool DEG_is_evaluated_id (const ID *id)
 
bool DEG_is_evaluated_object (const Object *object)
 
bool DEG_is_fully_evaluated (const struct Depsgraph *depsgraph)
 

Detailed Description

Implementation of Querying API

Definition in file depsgraph_query.cc.

Function Documentation

◆ DEG_get_bmain()

struct Main* DEG_get_bmain ( const Depsgraph graph)

◆ DEG_get_ctime()

float DEG_get_ctime ( const Depsgraph graph)

◆ DEG_get_customdata_mask_for_object()

void DEG_get_customdata_mask_for_object ( const Depsgraph graph,
Object ob,
CustomData_MeshMasks r_mask 
)

◆ DEG_get_eval_flags_for_id()

uint32_t DEG_get_eval_flags_for_id ( const Depsgraph graph,
ID id 
)

◆ DEG_get_evaluated_id()

ID* DEG_get_evaluated_id ( const Depsgraph depsgraph,
ID id 
)

◆ DEG_get_evaluated_object()

Object* DEG_get_evaluated_object ( const Depsgraph depsgraph,
Object object 
)

Definition at line 182 of file depsgraph_query.cc.

References DEG_get_evaluated_id(), depsgraph, and Object::id.

◆ DEG_get_evaluated_rna_pointer()

void DEG_get_evaluated_rna_pointer ( const Depsgraph depsgraph,
PointerRNA ptr,
PointerRNA r_ptr_eval 
)

◆ DEG_get_evaluated_scene()

Scene* DEG_get_evaluated_scene ( const Depsgraph graph)

◆ DEG_get_evaluated_view_layer()

ViewLayer* DEG_get_evaluated_view_layer ( const Depsgraph graph)

◆ DEG_get_input_scene()

struct Scene* DEG_get_input_scene ( const Depsgraph graph)

◆ DEG_get_input_view_layer()

struct ViewLayer* DEG_get_input_view_layer ( const Depsgraph graph)

◆ DEG_get_mode()

eEvaluationMode DEG_get_mode ( const Depsgraph graph)

◆ DEG_get_original_id()

ID* DEG_get_original_id ( ID id)

◆ DEG_get_original_object()

Object* DEG_get_original_object ( Object object)

◆ DEG_id_type_any_exists()

bool DEG_id_type_any_exists ( const Depsgraph depsgraph,
short  id_type 
)

◆ DEG_id_type_any_updated()

bool DEG_id_type_any_updated ( const Depsgraph graph)

Definition at line 88 of file depsgraph_query.cc.

References graph, and blender::deg::Depsgraph::id_type_updated.

◆ DEG_id_type_updated()

bool DEG_id_type_updated ( const Depsgraph graph,
short  id_type 
)

◆ DEG_is_evaluated_id()

bool DEG_is_evaluated_id ( const ID id)

Definition at line 308 of file depsgraph_query.cc.

References DEG_is_original_id().

◆ DEG_is_evaluated_object()

bool DEG_is_evaluated_object ( const Object object)

Definition at line 313 of file depsgraph_query.cc.

References DEG_is_original_object().

◆ DEG_is_fully_evaluated()

bool DEG_is_fully_evaluated ( const struct Depsgraph depsgraph)

◆ DEG_is_original_id()

bool DEG_is_original_id ( const ID id)

◆ DEG_is_original_object()

bool DEG_is_original_object ( const Object object)

Definition at line 303 of file depsgraph_query.cc.

References DEG_is_original_id(), and Object::id.

Referenced by DEG_is_evaluated_object().