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

NAMEglFramebufferRenderbuffer, glNamedFramebufferRenderbuffer − attach a renderbuffer as a logical buffer of a framebuffer object

C SPECIFICATIONvoid glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); void glNamedFramebufferRenderbuffer(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);

PARAMETERStarget Specifies the target to which the framebuffer is bound for glFramebufferRenderbuffer​. framebuffer Specifies the name of the framebuffer object for glNamedFramebufferRenderbuffer​. attachment Specifies the attachment point of the framebuffer​. renderbuffertarget Specifies the renderbuffer target​. Must be GL_RENDERBUFFER​. renderbuffer Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach​.

DESCRIPTIONglFramebufferRenderbuffer and glNamedFramebufferRenderbuffer attaches a renderbuffer as one of the logical buffers of the specified framebuffer object​. Renderbuffers cannot be attached to the default draw and read framebuffer, so they are not valid targets of these commands​. For glFramebufferRenderbuffer, the framebuffer object is that bound to target, which must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_FRAMEBUFFER​. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER​. For glNamedFramebufferRenderbuffer, framebuffer is the name of the framebuffer object​. renderbuffertarget must be GL_RENDERBUFFER​. renderbuffer must be zero or the name of an existing renderbuffer object of type renderbuffertarget​. If renderbuffer is not zero, then the specified renderbuffer will be used as the logical buffer identified by attachment of the specified framebuffer object​. If renderbuffer is zero, then the value of renderbuffertarget is ignored​. attachment specifies the logical attachment of the framebuffer and must be GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMENT​. i in may range from zero to the value of GL_MAX_COLOR_ATTACHMENTS minus one​. Setting attachment to the value GL_DEPTH_STENCIL_ATTACHMENT is a special case causing both the depth and stencil attachments of the specified framebuffer object to be set to renderbuffer, which should have the base internal format GL_DEPTH_STENCIL​. The value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE for the specified attachment point is set to GL_RENDERBUFFER and the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME is set to renderbuffer​. All other state values of specified attachment point are set to their default values​. No change is made to the state of the renderbuuffer object and any previous attachment to the attachment logical buffer of the specified framebuffer object is broken​. If renderbuffer is zero, these commands will detach the image, if any, identified by the specified attachment point of the specified framebuffer object​. All state values of the attachment point are set to their default values​.

ERRORSGL_INVALID_ENUM is generated by glFramebufferRenderbuffer if target is not one of the accepted framebuffer targets​. GL_INVALID_OPERATION is generated by glFramebufferRenderbuffer if zero is bound to target​. GL_INVALID_OPERATION is generated by glNamedFramebufferRenderbuffer if framebuffer is not the name of an existing framebuffer object​. GL_INVALID_ENUM is generated if attachment is not one of the accepted attachment points​. GL_INVALID_ENUM is generated if renderbuffertarget is not GL_RENDERBUFFER​. GL_INVALID_OPERATION is generated if renderbuffertarget is not zero or the name of an existing renderbuffer object of type GL_RENDERBUFFER​.

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 glFramebufferRenderbuffer glNamedFramebufferRenderbuffer

SEE ALSOglGenFramebuffers(), glBindFramebuffer(), glGenRenderbuffers(), glFramebufferTexture(), glFramebufferTexture1D, glFramebufferTexture2D, glFramebufferTexture3D

COPYRIGHTCopyright © 2010−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 © 2010-2014 Khronos Group
0
Johanes Gumabo
Data Size   :   24,648 byte
man-glNamedFramebufferRenderbuffer.3GBuild   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 259,736
Visitor ID   :     :  
Visitor IP   :   3.145.9.174   :  
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.29
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.