This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofFbo internal settings More...
#include <ofFbo.h>
Public Member Functions | |
ofFboSettings (std::shared_ptr< ofBaseGLRenderer > renderer=nullptr) | |
bool | operator!= (const ofFboSettings &other) |
Public Attributes | |
int | width |
width of images attached to fbo | |
int | height |
height of images attached to fbo | |
int | numColorbuffers |
how many color buffers to create | |
std::vector< GLint > | colorFormats |
format of the color attachments for MRT. | |
bool | useDepth |
whether to use depth buffer or not | |
bool | useStencil |
whether to use stencil buffer or not | |
bool | depthStencilAsTexture |
use a texture instead of a renderbuffer for depth (useful to draw it or use it in a shader later) | |
GLenum | textureTarget |
GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB. | |
GLint | internalformat |
GL_RGBA, GL_RGBA16F_ARB, GL_RGBA32F_ARB, GL_LUMINANCE32F_ARB etc. | |
GLint | depthStencilInternalFormat |
GL_DEPTH_COMPONENT(16/24/32) | |
int | wrapModeHorizontal |
GL_REPEAT, GL_MIRRORED_REPEAT, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_BORDER etc. | |
int | wrapModeVertical |
GL_REPEAT, GL_MIRRORED_REPEAT, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_BORDER etc. | |
int | minFilter |
GL_NEAREST, GL_LINEAR etc. | |
int | maxFilter |
GL_NEAREST, GL_LINEAR etc. | |
int | numSamples |
number of samples for multisampling (set 0 to disable) | |
Friends | |
class | ofFbo |
Detailed Description
ofFbo internal settings
Constructor & Destructor Documentation
◆ ofFboSettings()
ofFboSettings::ofFboSettings | ( | std::shared_ptr< ofBaseGLRenderer > | renderer = nullptr | ) |
Member Function Documentation
◆ operator!=()
bool ofFboSettings::operator!= | ( | const ofFboSettings & | other | ) |
Friends And Related Symbol Documentation
◆ ofFbo
|
friend |
Member Data Documentation
◆ colorFormats
std::vector<GLint> ofFboSettings::colorFormats |
format of the color attachments for MRT.
◆ depthStencilAsTexture
bool ofFboSettings::depthStencilAsTexture |
use a texture instead of a renderbuffer for depth (useful to draw it or use it in a shader later)
◆ depthStencilInternalFormat
GLint ofFboSettings::depthStencilInternalFormat |
GL_DEPTH_COMPONENT(16/24/32)
◆ height
int ofFboSettings::height |
height of images attached to fbo
◆ internalformat
GLint ofFboSettings::internalformat |
GL_RGBA, GL_RGBA16F_ARB, GL_RGBA32F_ARB, GL_LUMINANCE32F_ARB etc.
◆ maxFilter
int ofFboSettings::maxFilter |
GL_NEAREST, GL_LINEAR etc.
◆ minFilter
int ofFboSettings::minFilter |
GL_NEAREST, GL_LINEAR etc.
◆ numColorbuffers
int ofFboSettings::numColorbuffers |
how many color buffers to create
◆ numSamples
int ofFboSettings::numSamples |
number of samples for multisampling (set 0 to disable)
◆ textureTarget
GLenum ofFboSettings::textureTarget |
GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB.
◆ useDepth
bool ofFboSettings::useDepth |
whether to use depth buffer or not
◆ useStencil
bool ofFboSettings::useStencil |
whether to use stencil buffer or not
◆ width
int ofFboSettings::width |
width of images attached to fbo
◆ wrapModeHorizontal
int ofFboSettings::wrapModeHorizontal |
GL_REPEAT, GL_MIRRORED_REPEAT, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_BORDER etc.
◆ wrapModeVertical
int ofFboSettings::wrapModeVertical |
GL_REPEAT, GL_MIRRORED_REPEAT, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_BORDER etc.
The documentation for this struct was generated from the following files: