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

NAMEglFramebufferParameteri, glNamedFramebufferParameteri − set a named parameter of a framebuffer object

C SPECIFICATIONvoid glFramebufferParameteri(GLenum target, GLenum pname, GLint param); void glNamedFramebufferParameteri(GLuint framebuffer, GLenum pname, GLint param);

PARAMETERStarget Specifies the target to which the framebuffer is bound for glFramebufferParameteri​. framebuffer Specifies the name of the framebuffer object for glNamedFramebufferParameteri​. pname Specifies the framebuffer parameter to be modified​. param The new value for the parameter named pname​.

DESCRIPTIONglFramebufferParameteri and glNamedFramebufferParameteri modify the value of the parameter named pname in the specified framebuffer object​. There are no modifiable parameters of the default draw and read framebuffer, so they are not valid targets of these commands​. For glFramebufferParameteri, 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 glNamedFramebufferParameteri, framebuffer is the name of the framebuffer object​. pname specifies the parameter to be modified​. The following values are accepted: GL_FRAMEBUFFER_DEFAULT_WIDTH param specifies the assumed with for a framebuffer object with no attachments​. If a framebuffer has attachments then the width of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_WIDTH is used for the framebuffer​. param must be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_WIDTH​. GL_FRAMEBUFFER_DEFAULT_HEIGHT param specifies the assumed height for a framebuffer object with no attachments​. If a framebuffer has attachments then the height of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_HEIGHT is used for the framebuffer​. param must be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_HEIGHT​. GL_FRAMEBUFFER_DEFAULT_LAYERS param specifies the assumed number of layers for a framebuffer object with no attachments​. If a framebuffer has attachments then the layer count of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_LAYERS is used for the framebuffer​. param must be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_LAYERS​. GL_FRAMEBUFFER_DEFAULT_SAMPLES param specifies the assumed number of samples in a framebuffer object with no attachments​. If a framebuffer has attachments then the sample count of those attachments is used, otherwise the value of GL_FRAMEBUFFER_DEFAULT_SAMPLES is used for the framebuffer​. param must be greater than or equal to zero and less than or equal to the value of GL_MAX_FRAMEBUFFER_SAMPLE​. GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS param specifies whether the framebuffer should assume identical sample locations and the same number of samples for all texels in the virtual image​. If param is zero, then the implementation may vary the position or the count of samples within the virtual image from pixel to pixel, otherwise it will use the same sample position and count for all pixels in the virtual image​.

ERRORSGL_INVALID_ENUM is generated by glFramebufferParameteri if target is not one of the accepted framebuffer targets​. GL_INVALID_OPERATION is generated by glFramebufferParameteri if the default framebuffer is bound to target​. GL_INVALID_OPERATION is generated by glNamedFramebufferParameteri if framebuffer is not the name of an existing framebuffer object​. GL_INVALID_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_WIDTH and param is less than zero or greater than the value of GL_MAX_FRAMEBUFFER_WIDTH​. GL_INVALID_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_HEIGHT and param is less than zero or greater than the value of GL_MAX_FRAMEBUFFER_HEIGHT​. GL_INVALID_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_LAYERS and param is less than zero or greater than the value of GL_MAX_FRAMEBUFFER_LAYERS​. GL_INVALID_VALUE is generated if pname is GL_FRAMEBUFFER_DEFAULT_SAMPLES and param is less than zero or greater than the value of GL_MAX_FRAMEBUFFER_SAMPLES​.

ASSOCIATED GETSglGetFramebufferParameteriv​.

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 glFramebufferParameteri glNamedFramebufferParameteri

SEE ALSOglBindFramebuffer(), glCreateFramebuffers(), glFramebufferRenderbuffer(), glFramebufferTexture(), glGenFramebuffers(), glGetFramebufferParameter()

COPYRIGHTCopyright © 2013−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 © 2013-2014 Khronos Group
0
Johanes Gumabo
Data Size   :   27,170 byte
man-glFramebufferParameteri.3GBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 237,760
Visitor ID   :     :  
Visitor IP   :   18.218.50.170   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   10   :  
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.