Ejemplo n.º 1
0
//	Unbinds whatever render buffer object is currently bound, if any.
func (me *FramebufferRenderbuffer) Unbind() {
	gl.BindRenderbuffer(me.GlTarget, 0)
}
Ejemplo n.º 2
0
//	Binds this render buffer object.
func (me *FramebufferRenderbuffer) Bind() {
	gl.BindRenderbuffer(me.GlTarget, me.GlHandle)
}