Blender  V2.93
ED_scene.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
21 #pragma once
22 
23 #include "BLI_compiler_attrs.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 enum eSceneCopyMethod;
30 
31 struct Scene *ED_scene_add(struct Main *bmain,
32  struct bContext *C,
33  struct wmWindow *win,
34  enum eSceneCopyMethod method) ATTR_NONNULL();
35 bool ED_scene_delete(struct bContext *C, struct Main *bmain, struct Scene *scene) ATTR_NONNULL();
36 void ED_scene_change_update(struct Main *bmain, struct Scene *scene, struct ViewLayer *layer)
37  ATTR_NONNULL();
38 bool ED_scene_view_layer_delete(struct Main *bmain,
39  struct Scene *scene,
40  struct ViewLayer *layer,
41  struct ReportList *reports) ATTR_NONNULL(1, 2, 3);
42 
43 void ED_operatortypes_scene(void);
44 
45 #ifdef __cplusplus
46 }
47 #endif
eSceneCopyMethod
Definition: BKE_scene.h:42
#define ATTR_NONNULL(...)
bool ED_scene_delete(struct bContext *C, struct Main *bmain, struct Scene *scene) ATTR_NONNULL()
Definition: scene_edit.c:84
bool ED_scene_view_layer_delete(struct Main *bmain, struct Scene *scene, struct ViewLayer *layer, struct ReportList *reports) ATTR_NONNULL(1
bool void ED_operatortypes_scene(void)
Definition: scene_edit.c:280
void ED_scene_change_update(struct Main *bmain, struct Scene *scene, struct ViewLayer *layer) ATTR_NONNULL()
Definition: scene_edit.c:117
struct Scene * ED_scene_add(struct Main *bmain, struct bContext *C, struct wmWindow *win, enum eSceneCopyMethod method) ATTR_NONNULL()
Definition: scene_edit.c:54
#define C
Definition: RandGen.cpp:39
Scene scene
Definition: BKE_main.h:116