public void SetFinalFramebuffer(Framebuffer framebuffer) => this.finalFramebuffer = framebuffer;
public static void Blit(Framebuffer read, Framebuffer write, ClearBufferMask mask) { Ogl.BindFramebuffer(FramebufferTarget.ReadFramebuffer, read.handle); Ogl.BindFramebuffer(FramebufferTarget.DrawFramebuffer, write.handle); Ogl.BlitFramebuffer(0, 0, read.Size.x, read.Size.y, 0, 0, write.Size.x, write.Size.y, mask, BlitFramebufferFilter.Nearest); }