Blender V2.61 - r43446

render_intern.h

Go to the documentation of this file.
00001 /*
00002  * ***** BEGIN GPL LICENSE BLOCK *****
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version. 
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software Foundation,
00016  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017  *
00018  * The Original Code is Copyright (C) 2008 Blender Foundation.
00019  * All rights reserved.
00020  *
00021  * 
00022  * Contributor(s): Blender Foundation
00023  *
00024  * ***** END GPL LICENSE BLOCK *****
00025  */
00026 
00032 #ifndef RENDER_INTERN_H
00033 #define RENDER_INTERN_H
00034 
00035 struct wmOperatorType;
00036 struct RenderResult;
00037 struct Scene;
00038 
00039 /* render_shading.c */
00040 void OBJECT_OT_material_slot_add(struct wmOperatorType *ot);
00041 void OBJECT_OT_material_slot_remove(struct wmOperatorType *ot);
00042 void OBJECT_OT_material_slot_assign(struct wmOperatorType *ot);
00043 void OBJECT_OT_material_slot_select(struct wmOperatorType *ot);
00044 void OBJECT_OT_material_slot_deselect(struct wmOperatorType *ot);
00045 void OBJECT_OT_material_slot_copy(struct wmOperatorType *ot);
00046 
00047 void MATERIAL_OT_new(struct wmOperatorType *ot);
00048 void TEXTURE_OT_new(struct wmOperatorType *ot);
00049 void WORLD_OT_new(struct wmOperatorType *ot);
00050 
00051 void MATERIAL_OT_copy(struct wmOperatorType *ot);
00052 void MATERIAL_OT_paste(struct wmOperatorType *ot);
00053 
00054 void SCENE_OT_render_layer_add(struct wmOperatorType *ot);
00055 void SCENE_OT_render_layer_remove(struct wmOperatorType *ot);
00056 
00057 
00058 void TEXTURE_OT_slot_copy(struct wmOperatorType *ot);
00059 void TEXTURE_OT_slot_paste(struct wmOperatorType *ot);
00060 void TEXTURE_OT_slot_move(struct wmOperatorType *ot);
00061 void TEXTURE_OT_envmap_save(struct wmOperatorType *ot);
00062 void TEXTURE_OT_envmap_clear(struct wmOperatorType *ot);
00063 void TEXTURE_OT_envmap_clear_all(struct wmOperatorType *ot);
00064 
00065 /* render_internal.c */
00066 void RENDER_OT_render(struct wmOperatorType *ot);
00067 
00068 /* render_opengl.c uses this */
00069 void image_buffer_rect_update(struct Scene *scene, struct RenderResult *rr, struct ImBuf *ibuf, volatile struct rcti *renrect);
00070 
00071 /* render_view.c */
00072 void render_view_open(struct bContext *C, int mx, int my);
00073 
00074 void RENDER_OT_view_show(struct wmOperatorType *ot);
00075 void RENDER_OT_view_cancel(struct wmOperatorType *ot);
00076 
00077 /* render_opengl.c */
00078 void RENDER_OT_opengl(struct wmOperatorType *ot);
00079 
00080 #endif /* RENDER_INTERN_H */
00081