func DeleteRenderbuffers( n Sizei, renderbuffers *uint32) { C.glDeleteRenderbuffers( C.GLsizei(n), (*C.GLuint)(renderbuffers)) }
func DeleteRenderbuffer(v Renderbuffer) { defer func() { errstr := errDrain() log.Printf("gl.DeleteRenderbuffer(%v) %v", v, errstr) }() C.glDeleteRenderbuffers(1, (*C.GLuint)(&v.Value)) }
func DeleteRenderbuffer(v Renderbuffer) { C.glDeleteRenderbuffers(1, (*C.GLuint)(&v.Value)) }
func (r Renderbuffer) Delete() { C.glDeleteRenderbuffers(1, (*C.GLuint)(&r)) }
func DeleteRenderbuffers(renderbuffers []Renderbuffer) { C.glDeleteRenderbuffers(C.GLsizei(len(renderbuffers)), (*C.GLuint)(&renderbuffers[0])) }
func DeleteRenderbuffers(bufs []Renderbuffer) { if len(bufs) > 0 { C.glDeleteRenderbuffers(C.GLsizei(len(bufs)), (*C.GLuint)(&bufs[0])) } }