Esempio n. 1
0
func DeleteFramebuffers(
	n Sizei, framebuffers *uint32) {
	C.glDeleteFramebuffers(
		C.GLsizei(n),
		(*C.GLuint)(framebuffers))

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