Example #1
0
//	Binds this framebuffer object.
func (me *Framebuffer) Bind() {
	gl.BindFramebuffer(me.GlTarget, me.GlHandle)
}
Example #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)
}