func DeleteFramebuffers( n Sizei, framebuffers *uint32) { C.glDeleteFramebuffers( C.GLsizei(n), (*C.GLuint)(framebuffers)) }
func DeleteFramebuffer(v Framebuffer) { defer func() { errstr := errDrain() log.Printf("gl.DeleteFramebuffer(%v) %v", v, errstr) }() C.glDeleteFramebuffers(1, (*C.GLuint)(&v.Value)) }
func DeleteFramebuffer(v Framebuffer) { C.glDeleteFramebuffers(1, (*C.GLuint)(&v.Value)) }
func (f Framebuffer) Delete() { C.glDeleteFramebuffers(1, (*C.GLuint)(&f)) }
func DeleteFramebuffers(framebuffers []Framebuffer) { C.glDeleteFramebuffers(C.GLsizei(len(framebuffers)), (*C.GLuint)(&framebuffers[0])) }
func DeleteFramebuffers(bufs []Framebuffer) { if len(bufs) > 0 { C.glDeleteFramebuffers(C.GLsizei(len(bufs)), (*C.GLuint)(&bufs[0])) } }