2 * ***** BEGIN GPL LICENSE BLOCK *****
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * The Original Code is Copyright (C) 2008 Blender Foundation.
19 * All rights reserved.
22 * Contributor(s): Blender Foundation
24 * ***** END GPL LICENSE BLOCK *****
27 /** \file blender/editors/render/render_intern.h
32 #ifndef __RENDER_INTERN_H__
33 #define __RENDER_INTERN_H__
37 struct wmOperatorType;
40 /* render_shading.c */
41 void OBJECT_OT_material_slot_add(struct wmOperatorType *ot);
42 void OBJECT_OT_material_slot_remove(struct wmOperatorType *ot);
43 void OBJECT_OT_material_slot_assign(struct wmOperatorType *ot);
44 void OBJECT_OT_material_slot_select(struct wmOperatorType *ot);
45 void OBJECT_OT_material_slot_deselect(struct wmOperatorType *ot);
46 void OBJECT_OT_material_slot_copy(struct wmOperatorType *ot);
47 void OBJECT_OT_material_slot_move(struct wmOperatorType *ot);
49 void MATERIAL_OT_new(struct wmOperatorType *ot);
50 void TEXTURE_OT_new(struct wmOperatorType *ot);
51 void WORLD_OT_new(struct wmOperatorType *ot);
53 void MATERIAL_OT_copy(struct wmOperatorType *ot);
54 void MATERIAL_OT_paste(struct wmOperatorType *ot);
56 void SCENE_OT_render_layer_add(struct wmOperatorType *ot);
57 void SCENE_OT_render_layer_remove(struct wmOperatorType *ot);
59 void SCENE_OT_render_view_add(struct wmOperatorType *ot);
60 void SCENE_OT_render_view_remove(struct wmOperatorType *ot);
63 void SCENE_OT_freestyle_module_add(struct wmOperatorType *ot);
64 void SCENE_OT_freestyle_module_remove(struct wmOperatorType *ot);
65 void SCENE_OT_freestyle_module_move(struct wmOperatorType *ot);
66 void SCENE_OT_freestyle_lineset_add(struct wmOperatorType *ot);
67 void SCENE_OT_freestyle_lineset_copy(struct wmOperatorType *ot);
68 void SCENE_OT_freestyle_lineset_paste(struct wmOperatorType *ot);
69 void SCENE_OT_freestyle_lineset_remove(struct wmOperatorType *ot);
70 void SCENE_OT_freestyle_lineset_move(struct wmOperatorType *ot);
71 void SCENE_OT_freestyle_linestyle_new(struct wmOperatorType *ot);
72 void SCENE_OT_freestyle_color_modifier_add(struct wmOperatorType *ot);
73 void SCENE_OT_freestyle_alpha_modifier_add(struct wmOperatorType *ot);
74 void SCENE_OT_freestyle_thickness_modifier_add(struct wmOperatorType *ot);
75 void SCENE_OT_freestyle_geometry_modifier_add(struct wmOperatorType *ot);
76 void SCENE_OT_freestyle_modifier_remove(struct wmOperatorType *ot);
77 void SCENE_OT_freestyle_modifier_move(struct wmOperatorType *ot);
78 void SCENE_OT_freestyle_modifier_copy(struct wmOperatorType *ot);
79 void SCENE_OT_freestyle_stroke_material_create(struct wmOperatorType *ot);
83 void TEXTURE_OT_slot_copy(struct wmOperatorType *ot);
84 void TEXTURE_OT_slot_paste(struct wmOperatorType *ot);
85 void TEXTURE_OT_slot_move(struct wmOperatorType *ot);
86 void TEXTURE_OT_envmap_save(struct wmOperatorType *ot);
87 void TEXTURE_OT_envmap_clear(struct wmOperatorType *ot);
88 void TEXTURE_OT_envmap_clear_all(struct wmOperatorType *ot);
90 /* render_internal.c */
91 void RENDER_OT_render(struct wmOperatorType *ot);
92 void render_view3d_update(struct RenderEngine *engine, const struct bContext *C);
93 void render_view3d_draw(struct RenderEngine *engine, const struct bContext *C);
96 struct ScrArea *render_view_open(struct bContext *C, int mx, int my);
98 void RENDER_OT_view_show(struct wmOperatorType *ot);
99 void RENDER_OT_view_cancel(struct wmOperatorType *ot);
101 /* render_opengl.c */
102 void RENDER_OT_opengl(struct wmOperatorType *ot);
104 #endif /* __RENDER_INTERN_H__ */