GLINVALIDATEFRAMEBUF - Online Linux Manual PageSection : 3G
Updated : 01/20/2022
Source : [FIXME: source]
Note : [FIXME: manual]

NAMEglInvalidateFramebuffer, glInvalidateNamedFramebufferData − invalidate the content of some or all of a framebuffer's attachments

C SPECIFICATIONvoid glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum * attachments); void glInvalidateNamedFramebufferData(GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);

PARAMETERStarget Specifies the target to which the framebuffer object is attached for glInvalidateFramebuffer​. framebuffer Specifies the name of the framebuffer object for glInvalidateNamedFramebufferData​. numAttachments Specifies the number of entries in the attachments array​. attachments Specifies a pointer to an array identifying the attachments to be invalidated​.

DESCRIPTIONglInvalidateFramebuffer and glInvalidateNamedFramebufferData invalidate the entire contents of a specified set of attachments of a framebuffer​. For glInvalidateFramebuffer, the framebuffer object is that bound to target​. target must be GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER​. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER​. Default framebuffers may also be invalidated if bound to target​. For glInvalidateNamedFramebufferData, framebuffer is the name of the framebuffer object​. If framebuffer is zero, the default draw framebuffer is affected​. The set of attachments whose contents are to be invalidated are specified in the attachments array, which contains numAttachments elements​. If the specified framebuffer is a framebuffer object, each element of attachments must be one of GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT GL_DEPTH_STENCIL_ATTACHMENT, or GL_COLOR_ATTACHMENTi, where i is between zero and the value of GL_MAX_FRAMEBUFFER_ATTACHMENTS minus one​. If the specified framebuffer is a default framebuffer, each element of attachments must be one of GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_ACCUM, GL_COLOR, GL_DEPTH, or GL_STENCIL​. GL_COLOR, is treated as GL_BACK_LEFT for a double−buffered context and GL_FRONT_LEFT for a single−buffered context​. The other attachments identify the corresponding specific buffer​. The entire contents of each specified attachment become undefined after execution of glInvalidateFramebuffer or glInvalidateNamedFramebufferData​. If the framebuffer object is not complete, glInvalidateFramebuffer and glInvalidateNamedFramebufferData may be ignored​. This is not an error​.

ERRORSGL_INVALID_ENUM is generated by glInvalidateFramebuffer if target is not one of the accepted framebuffer targets​. GL_INVALID_OPERATION is generated by glInvalidateNamedFramebufferData if framebuffer is not zero or the name of an existing framebuffer object​. GL_INVALID_VALUE is generated if numAttachments is negative​. GL_INVALID_ENUM is generated if any element of attachments is not one of the accepted framebuffer attachment points, as described above​. GL_INVALID_OPERATION is generated if element of attachments is GL_COLOR_ATTACHMENTm where m is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS​.

ASSOCIATED GETSglGet() with argument GL_MAX_COLOR_ATTACHMENTS

VERSION SUPPORT OpenGL Version Function / Feature Name 2​.0 none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'> 2​.1 3​.0 3​.1 3​.2 3​.3 4​.0 4​.1 4​.2 4​.3 4​.4 4​.5 glInvalidateFramebuffer glInvalidateNamedFramebufferData

SEE ALSOglInvalidateTexSubImage(), glInvalidateTexImage(), glInvalidateBufferSubData(), glInvalidateBufferData(), glInvalidateSubFramebuffer()​.

COPYRIGHTCopyright © 2014 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/​.

COPYRIGHT
Copyright © 2014 Khronos Group
0
Johanes Gumabo
Data Size   :   24,133 byte
man-glInvalidateNamedFramebufferData.3GBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 183,351
Visitor ID   :     :  
Visitor IP   :   3.17.78.184   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.