示例#1
0
func (buf *TextureFramebuffer) Delete(ctx gl.Context) {
	ctx.DeleteFramebuffer(buf.fbo.Framebuffer)
	ctx.DeleteTexture(buf.tex.Texture)
}
示例#2
0
文件: gl.go 项目: dskinner/material
func (fbo Framebuffer) Delete(ctx gl.Context) {
	ctx.DeleteFramebuffer(fbo.Framebuffer)
}