Example #1
0
func DeleteRenderbuffers(
	n Sizei, renderbuffers *uint32) {
	C.glDeleteRenderbuffers(
		C.GLsizei(n),
		(*C.GLuint)(renderbuffers))

}
Example #2
0
func DeleteRenderbuffer(v Renderbuffer) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.DeleteRenderbuffer(%v) %v", v, errstr)
	}()
	C.glDeleteRenderbuffers(1, (*C.GLuint)(&v.Value))
}
Example #3
0
func DeleteRenderbuffer(v Renderbuffer) {
	C.glDeleteRenderbuffers(1, (*C.GLuint)(&v.Value))
}
Example #4
0
func (r Renderbuffer) Delete() {
	C.glDeleteRenderbuffers(1, (*C.GLuint)(&r))
}
Example #5
0
func DeleteRenderbuffers(renderbuffers []Renderbuffer) {
	C.glDeleteRenderbuffers(C.GLsizei(len(renderbuffers)), (*C.GLuint)(&renderbuffers[0]))
}
Example #6
0
func DeleteRenderbuffers(bufs []Renderbuffer) {
	if len(bufs) > 0 {
		C.glDeleteRenderbuffers(C.GLsizei(len(bufs)), (*C.GLuint)(&bufs[0]))
	}
}