Exemplo n.º 1
0
//	Binds this framebuffer object.
func (me *Framebuffer) Bind() {
	gl.BindFramebuffer(me.GlTarget, me.GlHandle)
}
Exemplo n.º 2
0
//	Unbinds whatever Framebuffer is currently bound, and binds the
//	"default" framebuffer (typically, the window's drawing surface).
func (me *Framebuffer) Unbind() {
	gl.BindFramebuffer(me.GlTarget, 0)
}