Helper class for implementing dynamic cube mapping.


Public Member Functions


Static Public Member Functions

  • create (int32_t faceWidth, int32_t faceHeight, const Format &format=Format())

Protected Member Functions

  • FboCubeMap (int32_t faceWidth, int32_t faceHeight, const Format &format, const TextureCubeMapRef &textureCubeMap)
  • void
    init ()
  • void
    initMultisamplingSettings (bool *useMsaa, bool *useCsaa, Format *format)
  • void
    prepareAttachments (const Format &format, bool multisampling)
  • void
    attachAttachments ()
  • void
    initMultisample (const Format &format)
  • void
    updateMipmaps (GLenum attachment) const
  • bool
    checkStatus (class FboExceptionInvalidSpecification *resultExc)
  • void
    setDrawBuffers (GLuint fbId, const std::map< GLenum, RenderbufferRef > &attachmentsBuffer, const std::map< GLenum, TextureBaseRef > &attachmentsTexture)

Protected Attributes

  • mTextureCubeMap
  • int
    mWidth
  • int
    mHeight
  • mFormat
  • GLuint
    mId
  • GLuint
    mMultisampleFramebufferId
  • std::map< GLenum, RenderbufferRef >
    mAttachmentsBuffer
  • std::map< GLenum, RenderbufferRef >
    mAttachmentsMultisampleBuffer
  • std::map< GLenum, TextureBaseRef >
    mAttachmentsTexture
  • std::string
    mLabel
  • bool
    mNeedsResolve
  • bool
    mNeedsMipmapUpdate