| 123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include "BsGLPrerequisites.h"
- #include "BsMultiRenderTexture.h"
- #include "BsGLFrameBufferObject.h"
- namespace BansheeEngine
- {
- class BS_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;
- };
- }
|