Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glinvalidateframebuffer(3g) [centos man page]

GLINVALIDATEFRAMEBUF(3G)					   OpenGL Manual					  GLINVALIDATEFRAMEBUF(3G)

NAME
glInvalidateFramebuffer - invalidate the content some or all of a framebuffer object's attachments C SPECIFICATION
void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments); PARAMETERS
target The target to which the framebuffer is attached. target must be GL_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, or GL_READ_FRAMEBUFFER. numAttachments The number of entries in the attachments array. attachments The address of an array identifying the attachments to be invalidated. DESCRIPTION
glInvalidateFramebuffer invalidates the content of a specified set of attachments of a framebuffer. The framebuffer whose content to invalidate is indicated by setting target to the target to which it is bound. target may be GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER. GL_FRAMEBUFFER is treated as if it were GL_DRAW_FRAMEBUFFER. The set of attachments whose content to invalidate are specified in an array whose address is given by attachments and which contains numAttachments elements. The elements of attachments must be GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENTGL_DEPTH_STENCIL_ATTACHMENT, or GL_COLOR_ATTACHMENTi, where i is between zero and the value of GL_MAX_FRAMEBUFFER_ATTACHMENTS minus one. Furthermore, if the default framebuffer is bound to target, then attachments may contain GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_ACCUM, GL_COLOR, GL_DEPTH, or GL_STENCIL, identifying that specific buffer. GL_COLOR, is treated as GL_BACK_LEFT for a double-buffered context and GL_FRONT_LEFT for a single-buffered context. After glInvalidateFramebuffer is executed, the contents of the specified attachments become undefined. ERRORS
GL_INVALID_ENUM is generated if target is not one of the accepted framebuffer target tokens. GL_INVALID_ENUM is generated if any element of attachments is not one of the accepted framebuffer attachment tokens. GL_INVALID_OPERATION is generated if element of attachments is GL_COLOR_ATTACHMENTi where i is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS. ASSOCIATED GETS
glGet() with argument GL_MAX_COLOR_ATTACHMENTS SEE ALSO
glInvalidateTexSubImage(), glInvalidateTexImage(), glInvalidateBufferSubData(), glInvalidateBufferData(), glInvalidateSubFramebuffer(). COPYRIGHT
Copyright (C) 2012 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 06/10/2014 GLINVALIDATEFRAMEBUF(3G)

Check Out this Related Man Page

GLBINDFRAMEBUFFER(3G)						  [FIXME: 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 (C) 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/. [FIXME: source] 05/30/2012 GLBINDFRAMEBUFFER(3G)
Man Page