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