Beispiel #1
0
func UnbindFramebufferDraw() {
	gl.BindFramebuffer(gl.DRAW_FRAMEBUFFER, 0)
}
Beispiel #2
0
func UnbindFramebufferRead() {
	gl.BindFramebuffer(gl.READ_FRAMEBUFFER, 0)
}
Beispiel #3
0
func UnbindFramebuffer() {
	gl.BindFramebuffer(gl.FRAMEBUFFER, 0)
}
Beispiel #4
0
func (f Framebuffer) BindDraw() {
	gl.BindFramebuffer(gl.DRAW_FRAMEBUFFER, f.internal)
}
Beispiel #5
0
func (f Framebuffer) BindRead() {
	gl.BindFramebuffer(gl.READ_FRAMEBUFFER, f.internal)
}
Beispiel #6
0
func (f Framebuffer) Bind() {
	gl.BindFramebuffer(gl.FRAMEBUFFER, f.internal)
}