diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-02 19:50:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-02 19:52:39 +0300 |
commit | 3f567535da163df7e77fe9438cc80fb8b2c67b87 (patch) | |
tree | 7b883ebf63eab2be1d0e34ae0fa434ff48a14a18 /source/blender/gpu/GPU_framebuffer.h | |
parent | 2b0f02057f457acec1ed9444ee7d833ab26d0d33 (diff) |
Draw Manager: OpenGL render support
Works for clay-engine but doesn't draw objects with eevee.
Diffstat (limited to 'source/blender/gpu/GPU_framebuffer.h')
-rw-r--r-- | source/blender/gpu/GPU_framebuffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h index 349e11ceb44..92f5d8a3796 100644 --- a/source/blender/gpu/GPU_framebuffer.h +++ b/source/blender/gpu/GPU_framebuffer.h @@ -84,6 +84,10 @@ int GPU_offscreen_width(const GPUOffScreen *ofs); int GPU_offscreen_height(const GPUOffScreen *ofs); int GPU_offscreen_color_texture(const GPUOffScreen *ofs); +void GPU_offscreen_viewport_data_get( + GPUOffScreen *ofs, + GPUFrameBuffer **r_fb, struct GPUTexture **r_color, struct GPUTexture **r_depth); + #ifdef __cplusplus } #endif |