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