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