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

}
Esempio n. 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))
}
Esempio n. 3
0
func DeleteRenderbuffer(v Renderbuffer) {
	C.glDeleteRenderbuffers(1, (*C.GLuint)(&v.Value))
}
Esempio n. 4
0
func (r Renderbuffer) Delete() {
	C.glDeleteRenderbuffers(1, (*C.GLuint)(&r))
}
Esempio n. 5
0
func DeleteRenderbuffers(renderbuffers []Renderbuffer) {
	C.glDeleteRenderbuffers(C.GLsizei(len(renderbuffers)), (*C.GLuint)(&renderbuffers[0]))
}
Esempio n. 6
0
func DeleteRenderbuffers(bufs []Renderbuffer) {
	if len(bufs) > 0 {
		C.glDeleteRenderbuffers(C.GLsizei(len(bufs)), (*C.GLuint)(&bufs[0]))
	}
}