func FramebufferRenderbuffer(target, attachment, rbTarget Enum, rb Renderbuffer) { defer func() { errstr := errDrain() log.Printf("gl.FramebufferRenderbuffer(%v, %v, %v, %v) %v", target, attachment, rbTarget, rb, errstr) }() C.glFramebufferRenderbuffer(target.c(), attachment.c(), rbTarget.c(), rb.c()) }
func FramebufferRenderbuffer( target Enum, attachment Enum, renderbuffertarget Enum, renderbuffer uint32) { C.glFramebufferRenderbuffer( C.GLenum(target), C.GLenum(attachment), C.GLenum(renderbuffertarget), C.GLuint(renderbuffer)) }
func FramebufferRenderbuffer(target, attachment, rbTarget Enum, rb Renderbuffer) { C.glFramebufferRenderbuffer(target.c(), attachment.c(), rbTarget.c(), rb.c()) }
func FramebufferRenderbuffer(target FramebufferTarget, attachment FramebufferAttachment, renderbuffertarget RenderbufferTarget, renderbuffer Renderbuffer) { C.glFramebufferRenderbuffer(C.GLenum(target), C.GLenum(attachment), C.GLenum(renderbuffertarget), C.GLuint(renderbuffer)) }
// GLsync glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); func (rb Renderbuffer) FramebufferRenderbuffer(target, attachment, renderbuffertarget GLenum) /* GLsync */ { // TODO: sync stuff. return (GLsync)(C.glFramebufferRenderbuffer (C.GLenum(target), C.GLenum(attachment), C.GLenum(renderbuffertarget), C.GLuint(rb))) C.glFramebufferRenderbuffer(C.GLenum(target), C.GLenum(attachment), C.GLenum(renderbuffertarget), C.GLuint(rb)) }