12 virtual void Blit(uint32_t i, uint32_t x, uint32_t y, uint32_t w, uint32_t h);
15 virtual RenderPass* GetRenderPass()
const override;
16 virtual uint32_t GetAttachment(uint32_t attachmentIndex)
override;
17 virtual void Clear(ClearMode mask)
override;
18 virtual void Resize(uint32_t newWidth, uint32_t newHeight)
override;
19 virtual void Bind()
override;
20 virtual void BindWrite()
override;
21 virtual void BindRead()
override;
22 virtual void BindTextures(
int i)
override;
23 virtual void Unbind()
override;
24 virtual uint32_t GetWidth()
const override;
25 virtual uint32_t GetHeight()
const override;
26 virtual uint32_t GetRenderTargetCount()
const override;
30 void CreateFramebuffer();
32 std::string debugName;
33 GLuint framebuffer = 0;
34 GLsizei numTotalRenderTargets = 0;
36 std::vector<Grindstone::GraphicsAPI::RenderTarget*> colorAttachments;