Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d_offscreen.h
| Show All 31 Lines | |||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* ********* exports for space_view3d/ module for offscreen rendering ********** */ | /* ********* exports for space_view3d/ module for offscreen rendering ********** */ | ||||
| struct ARegion; | struct ARegion; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct GPUOffScreen; | struct GPUOffScreen; | ||||
| struct GPUViewport; | struct GPUViewport; | ||||
| struct RV3DMatrixStore; | |||||
| struct Scene; | struct Scene; | ||||
| struct View3D; | struct View3D; | ||||
| struct View3DShading; | struct View3DShading; | ||||
| void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph, | void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph, | ||||
| const struct Scene *scene, | const struct Scene *scene, | ||||
| eDrawType drawtype, | eDrawType drawtype, | ||||
| struct View3D *v3d, | struct View3D *v3d, | ||||
| struct ARegion *region, | struct ARegion *region, | ||||
| int winx, | int winx, | ||||
| int winy, | int winy, | ||||
| const float viewmat[4][4], | const float viewmat[4][4], | ||||
| const float winmat[4][4], | const float winmat[4][4], | ||||
| bool is_image_render, | bool is_image_render, | ||||
| bool draw_background, | bool draw_background, | ||||
| const char *viewname, | const char *viewname, | ||||
| const bool do_color_management, | const bool do_color_management, | ||||
| struct GPUOffScreen *ofs, | struct GPUOffScreen *ofs, | ||||
| struct GPUViewport *viewport); | struct GPUViewport *viewport, | ||||
| struct RV3DMatrixStore **r_rv3d_mats); | |||||
| void ED_view3d_draw_offscreen_simple(struct Depsgraph *depsgraph, | void ED_view3d_draw_offscreen_simple(struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct View3DShading *shading_override, | struct View3DShading *shading_override, | ||||
| int drawtype, | int drawtype, | ||||
| int winx, | int winx, | ||||
| int winy, | int winy, | ||||
| unsigned int draw_flags, | unsigned int draw_flags, | ||||
| const float viewmat[4][4], | const float viewmat[4][4], | ||||
| Show All 13 Lines | struct ImBuf *ED_view3d_draw_offscreen_imbuf(struct Depsgraph *depsgraph, | ||||
| struct View3D *v3d, | struct View3D *v3d, | ||||
| struct ARegion *region, | struct ARegion *region, | ||||
| int sizex, | int sizex, | ||||
| int sizey, | int sizey, | ||||
| eImBufFlags imbuf_flag, | eImBufFlags imbuf_flag, | ||||
| int alpha_mode, | int alpha_mode, | ||||
| const char *viewname, | const char *viewname, | ||||
| struct GPUOffScreen *ofs, | struct GPUOffScreen *ofs, | ||||
| char err_out[256]); | char err_out[256], | ||||
| struct RV3DMatrixStore **r_rv3d_mats); | |||||
| struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple(struct Depsgraph *depsgraph, | struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple(struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct View3DShading *shading_override, | struct View3DShading *shading_override, | ||||
| eDrawType drawtype, | eDrawType drawtype, | ||||
| struct Object *camera, | struct Object *camera, | ||||
| int width, | int width, | ||||
| int height, | int height, | ||||
| eImBufFlags imbuf_flags, | eImBufFlags imbuf_flags, | ||||
| Show All 9 Lines | |||||