Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_context.h
| Show First 20 Lines • Show All 305 Lines • ▼ Show 20 Lines | |||||
| struct bGPdata *CTX_data_gpencil_data(const bContext *C); | struct bGPdata *CTX_data_gpencil_data(const bContext *C); | ||||
| struct bGPDlayer *CTX_data_active_gpencil_layer(const bContext *C); | struct bGPDlayer *CTX_data_active_gpencil_layer(const bContext *C); | ||||
| struct bGPDframe *CTX_data_active_gpencil_frame(const bContext *C); | struct bGPDframe *CTX_data_active_gpencil_frame(const bContext *C); | ||||
| int CTX_data_visible_gpencil_layers(const bContext *C, ListBase *list); | int CTX_data_visible_gpencil_layers(const bContext *C, ListBase *list); | ||||
| int CTX_data_editable_gpencil_layers(const bContext *C, ListBase *list); | int CTX_data_editable_gpencil_layers(const bContext *C, ListBase *list); | ||||
| int CTX_data_editable_gpencil_strokes(const bContext *C, ListBase *list); | int CTX_data_editable_gpencil_strokes(const bContext *C, ListBase *list); | ||||
| /* Gets pointer to the dependency graph. | |||||
| * If it doesn't exist yet, it will be allocated. | |||||
mont29: `yet, it will be` ;) | |||||
| * | |||||
| * The result dependency graph is NOT guaranteed to be up-to-date neither from relation nor from | |||||
| * evaluated data points of view. | |||||
| * | |||||
| * NOTE: Can not be used if access to a fully evaluated datablock is needed. */ | |||||
| struct Depsgraph *CTX_data_depsgraph(const bContext *C); | struct Depsgraph *CTX_data_depsgraph(const bContext *C); | ||||
| /* Gets fully updated and evaluated dependency graph. | |||||
| * | |||||
| * All the relations and evaluated objects are guaranteed to be up to date. | |||||
| * | |||||
| * NOTE: Will be expensive if there are relations or objects tagged for update. | |||||
| * NOTE: If there are pending updates depsgraph hooks will be invoked. */ | |||||
| struct Depsgraph *CTX_data_evaluated_depsgraph(const bContext *C); | |||||
| /* Will Return NULL if depsgraph is not allocated yet. | /* Will Return NULL if depsgraph is not allocated yet. | ||||
| * Only used by handful of operators which are run on file load. | * Only used by handful of operators which are run on file load. | ||||
| */ | */ | ||||
| struct Depsgraph *CTX_data_depsgraph_on_load(const bContext *C); | struct Depsgraph *CTX_data_depsgraph_on_load(const bContext *C); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif | #endif | ||||
yet, it will be ;)