func GenRenderbuffer() (r0 Renderbuffer) { defer func() { errstr := errDrain() log.Printf("gl.GenRenderbuffer() %v%v", r0, errstr) }() var b Renderbuffer C.glGenRenderbuffers(1, (*C.GLuint)(&b.Value)) return b }
func CreateRenderbuffer() Renderbuffer { var b Renderbuffer C.glGenRenderbuffers(1, (*C.GLuint)(&b.Value)) return b }
func GenRenderbuffers( n Sizei, renderbuffers *uint32) { C.glGenRenderbuffers( C.GLsizei(n), (*C.GLuint)(renderbuffers)) }
func CreateRenderbuffer() Renderbuffer { buffer := Renderbuffer(0) C.glGenRenderbuffers(C.GLsizei(1), (*C.GLuint)(&buffer)) return buffer }
func GenRenderbuffers(buffers []Renderbuffer) { C.glGenRenderbuffers(C.GLsizei(len(buffers)), (*C.GLuint)(&buffers[0])) }
// void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) func GenRenderbuffer() Renderbuffer { var b C.GLuint C.glGenRenderbuffers(1, &b) return Renderbuffer(b) }