Draw Manager: OpenGL render support

Works for clay-engine but doesn't draw objects with eevee.
This commit is contained in:
2017-05-03 02:50:29 +10:00
parent 2b0f02057f
commit 3f567535da
7 changed files with 87 additions and 1 deletions

View File

@@ -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