glBindFramebuffer man page on Oracle
[printable version]
GLBINDFRAMEBUFFER(3G) OpenGL Manual GLBINDFRAMEBUFFER(3G)
NAME
glBindFramebuffer - bind a framebuffer to a framebuffer target
C SPECIFICATION
void glBindFramebuffer(GLenum target, GLuint framebuffer);
PARAMETERS
target
Specifies the framebuffer target of the binding operation.
framebuffer
Specifies the name of the framebuffer object to bind.
DESCRIPTION
glBindFramebuffer binds the framebuffer object with name framebuffer to
the framebuffer target specified by target. target must be either
GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_FRAMEBUFFER. If a
framebuffer object is bound to GL_DRAW_FRAMEBUFFER or
GL_READ_FRAMEBUFFER, it becomes the target for rendering or readback
operations, respectively, until it is deleted or another framebuffer is
bound to the corresponding bind point. Calling glBindFramebuffer with
target set to GL_FRAMEBUFFER binds framebuffer to both the read and
draw framebuffer targets. framebuffer is the name of a framebuffer
object previously returned from a call to glGenFramebuffers(), or zero
to break the existing binding of a framebuffer object to target.
ERRORS
GL_INVALID_ENUM is generated if target is not GL_DRAW_FRAMEBUFFER,
GL_READ_FRAMEBUFFER or GL_FRAMEBUFFER.
GL_INVALID_OPERATION is generated if framebuffer is not zero or the
name of a framebuffer previously returned from a call to
glGenFramebuffers().
SEE ALSO
glGenFramebuffers(), glDeleteFramebuffers(),
glFramebufferRenderbuffer(), glFramebufferTexture(),
glFramebufferTexture1D(), glFramebufferTexture2D(),
glFramebufferTexture3D(), glFramebufferTextureFace(),
glFramebufferTextureLayer(), glIsFramebuffer()
COPYRIGHT
Copyright © 2010 Khronos Group. This material may be distributed
subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
AUTHORS
opengl.org
opengl.org 04/29/2014 GLBINDFRAMEBUFFER(3G)
[top]
List of man pages available for Oracle
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|