| 16 | #include "vector.h" |
| 17 | |
| 18 | class RenderTarget { |
| 19 | public: |
| 20 | int width; |
| 21 | int height; |
| 22 | bool hasdepthbuffer; |
| 23 | unsigned int fbo; |
| 24 | unsigned int rbo_depth; |
| 25 | unsigned int fbo_texture; |
| 26 | |
| 27 | RenderTarget(){}; |
| 28 | ~RenderTarget(){}; |
| 29 | |
| 30 | void Create(int w, int h, bool hasdepth); |
| 31 | void Clear(float r, float g, float b, float a); |
| 32 | void Resize(int w, int h); |
| 33 | void Delete(); |
| 34 | }; |
| 35 | |
| 36 | void DrawFullscreenQuad(RenderTarget dst, RenderTarget src, |
| 37 | unsigned int shader); |
nothing calls this directly
no outgoing calls
no test coverage detected