func (buf *TextureFramebuffer) Delete(ctx gl.Context) { ctx.DeleteFramebuffer(buf.fbo.Framebuffer) ctx.DeleteTexture(buf.tex.Texture) }
func (fbo Framebuffer) Delete(ctx gl.Context) { ctx.DeleteFramebuffer(fbo.Framebuffer) }