Blender
V3.3
source
blender
depsgraph
intern
eval
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. */
17
class
GPencilBackup
{
18
public
:
19
GPencilBackup
(
const
Depsgraph
*
depsgraph
);
20
21
void
init_from_gpencil
(
bGPdata
*gpd);
22
void
restore_to_gpencil
(
bGPdata
*gpd);
23
24
const
Depsgraph
*
depsgraph
;
25
};
26
27
}
// namespace blender::deg
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:35
blender::deg::GPencilBackup
Definition:
deg_eval_runtime_backup_gpencil.h:17
blender::deg::GPencilBackup::init_from_gpencil
void init_from_gpencil(bGPdata *gpd)
Definition:
deg_eval_runtime_backup_gpencil.cc:22
blender::deg::GPencilBackup::restore_to_gpencil
void restore_to_gpencil(bGPdata *gpd)
Definition:
deg_eval_runtime_backup_gpencil.cc:26
blender::deg::GPencilBackup::GPencilBackup
GPencilBackup(const Depsgraph *depsgraph)
Definition:
deg_eval_runtime_backup_gpencil.cc:18
blender::deg::GPencilBackup::depsgraph
const Depsgraph * depsgraph
Definition:
deg_eval_runtime_backup_gpencil.h:24
blender::deg
Definition:
deg_builder.cc:40
bGPdata
Definition:
DNA_gpencil_types.h:670
blender::deg::Depsgraph
Definition:
depsgraph.h:43
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1