Blender  V3.3
deg_eval_runtime_backup_gpencil.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2022 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 struct bGPdata;
11 
12 namespace blender::deg {
13 
14 struct Depsgraph;
15 
16 /* Backup of volume datablocks runtime data. */
18  public:
20 
21  void init_from_gpencil(bGPdata *gpd);
22  void restore_to_gpencil(bGPdata *gpd);
23 
25 };
26 
27 } // namespace blender::deg
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
GPencilBackup(const Depsgraph *depsgraph)