Пример #1
0
func BindRenderbuffer(
	target Enum, renderbuffer uint32) {
	C.glBindRenderbuffer(
		C.GLenum(target),
		C.GLuint(renderbuffer))

}
Пример #2
0
func BindRenderbuffer(target Enum, rb Renderbuffer) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.BindRenderbuffer(%v, %v) %v", target, rb, errstr)
	}()
	C.glBindRenderbuffer(target.c(), rb.c())
}
Пример #3
0
func BindRenderbuffer(target Enum, rb Renderbuffer) {
	C.glBindRenderbuffer(target.c(), rb.c())
}
Пример #4
0
func BindRenderbuffer(target RenderbufferTarget, renderbuffer Renderbuffer) {
	C.glBindRenderbuffer(C.GLenum(target), C.GLuint(renderbuffer))
}
Пример #5
0
// Unbind this texture
func (rb Renderbuffer) Unbind() {
	C.glBindRenderbuffer(C.GLenum(RENDERBUFFER), 0)
}
Пример #6
0
// void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
func (rb Renderbuffer) Bind() {
	C.glBindRenderbuffer(C.GLenum(RENDERBUFFER), C.GLuint(rb))
}