Example #1
0
func (buf *TextureFramebuffer) Delete(ctx gl.Context) {
	ctx.DeleteFramebuffer(buf.fbo.Framebuffer)
	ctx.DeleteTexture(buf.tex.Texture)
}
Example #2
0
func (tex Texture) Delete(ctx gl.Context) {
	ctx.DeleteTexture(tex.Texture)
}