Esempio n. 1
0
 public void SetFinalFramebuffer(Framebuffer framebuffer) => this.finalFramebuffer = framebuffer;
Esempio n. 2
0
 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);
 }