示例#1
0
文件: gles2.go 项目: remogatto/egles
func DeleteFramebuffers(
	n Sizei, framebuffers *uint32) {
	C.glDeleteFramebuffers(
		C.GLsizei(n),
		(*C.GLuint)(framebuffers))

}
示例#2
0
文件: gldebug.go 项目: Miaque/mojo
func DeleteFramebuffer(v Framebuffer) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.DeleteFramebuffer(%v) %v", v, errstr)
	}()
	C.glDeleteFramebuffers(1, (*C.GLuint)(&v.Value))
}
示例#3
0
func DeleteFramebuffer(v Framebuffer) {
	C.glDeleteFramebuffers(1, (*C.GLuint)(&v.Value))
}
示例#4
0
func (f Framebuffer) Delete() {
	C.glDeleteFramebuffers(1, (*C.GLuint)(&f))
}
示例#5
0
func DeleteFramebuffers(framebuffers []Framebuffer) {
	C.glDeleteFramebuffers(C.GLsizei(len(framebuffers)), (*C.GLuint)(&framebuffers[0]))
}
示例#6
0
func DeleteFramebuffers(bufs []Framebuffer) {
	if len(bufs) > 0 {
		C.glDeleteFramebuffers(C.GLsizei(len(bufs)), (*C.GLuint)(&bufs[0]))
	}
}