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