Defines the Format of the Fbo , which is passed in via create() .

The default provides an 8-bit RGBA color texture attachment and a 24-bit depth renderbuffer attachment, multi-sampling and stencil disabled.


Public Member Functions


Static Public Member Functions

  • void
    getDepthStencilFormats (GLint depthInternalFormat, GLint *resultInternalFormat, GLenum *resultPixelDataType)

Protected Attributes

  • GLenum
    mDepthBufferInternalFormat
  • int
    mSamples
  • int
    mCoverageSamples
  • bool
    mColorTexture
  • bool
    mDepthTexture
  • bool
    mDepthBuffer
  • bool
    mStencilBuffer
  • Texture::Format
    mColorTextureFormat
  • Texture::Format
    mDepthTextureFormat
  • std::string
    mLabel
  • std::map< GLenum, RenderbufferRef >
    mAttachmentsBuffer
  • std::map< GLenum, RenderbufferRef >
    mAttachmentsMultisampleBuffer
  • std::map< GLenum, TextureBaseRef >
    mAttachmentsTexture

Friends

  • friend class