Esempio n. 1
0
 public void Resolve()
 {
     resolveFramebuffer.AttachTextureImage(FramebufferAttachmentPoint.Color0, ResolvedTex, 0);
     infra.GlContext.Actions.BlitFramebuffer(Framebuffer, resolveFramebuffer,
                                             0, 0, Width, Height,
                                             0, 0, Width, Height,
                                             ClearBufferMask.ColorBufferBit, BlitFramebufferFilter.Nearest);
     resolveFramebuffer.Detach(FramebufferAttachmentPoint.Color0);
     ResolvedTex.GenerateMipmap();
 }