ofDocsdocumentation gl ofFboSettings
ofFboSettings
operator!=( ... )
bool operator!=(const ofFboSettings &other)Variables
int colorFormats< format of the color attachments for MRT.
bool depthStencilAsTexture< use a texture instead of a renderbuffer for depth (useful to draw it or use it in a shader later)
GLint depthStencilInternalFormat< GL_DEPTH_COMPONENT(16/24/32)
int height< height of images attached to fbo
GLint internalformat< GL_RGBA, GL_RGBA16F_ARB, GL_RGBA32F_ARB, GL_LUMINANCE32F_ARB etc.
int maxFilter< GL_NEAREST, GL_LINEAR etc.
int minFilter< GL_NEAREST, GL_LINEAR etc.
int numColorbuffers< how many color buffers to create
int numSamples< number of samples for multisampling (set 0 to disable)
GLenum textureTarget< GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB
bool useDepth< whether to use depth buffer or not
bool useStencil< whether to use stencil buffer or not
int width< width of images attached to fbo
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.