| 123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include "CmGLPrerequisites.h"
- #include "CmMultiRenderTexture.h"
- #include "CmGLFrameBufferObject.h"
- namespace CamelotFramework
- {
- class CM_RSGL_EXPORT GLMultiRenderTexture : public MultiRenderTexture
- {
- public:
- virtual ~GLMultiRenderTexture();
- bool requiresTextureFlipping() const { return true; }
- void getCustomAttribute(const String& name, void* pData) const;
- protected:
- friend class GLTextureManager;
- GLMultiRenderTexture();
- /**
- * @copydoc MultiRenderTexture::initialize_internal().
- */
- void initialize_internal();
- /**
- * @copydoc MultiRenderTexture::destroy_internal().
- */
- void destroy_internal();
- private:
- GLFrameBufferObject* mFB;
- };
- }
|