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

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