CmGLMultiRenderTexture.h 726 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "CmGLPrerequisites.h"
  3. #include "CmMultiRenderTexture.h"
  4. #include "CmGLFrameBufferObject.h"
  5. namespace CamelotFramework
  6. {
  7. class CM_RSGL_EXPORT GLMultiRenderTexture : public MultiRenderTexture
  8. {
  9. public:
  10. virtual ~GLMultiRenderTexture();
  11. bool requiresTextureFlipping() const { return true; }
  12. void getCustomAttribute(const String& name, void* pData) const;
  13. protected:
  14. friend class GLTextureManager;
  15. GLMultiRenderTexture();
  16. /**
  17. * @copydoc MultiRenderTexture::initialize_internal().
  18. */
  19. void initialize_internal();
  20. /**
  21. * @copydoc MultiRenderTexture::destroy_internal().
  22. */
  23. void destroy_internal();
  24. private:
  25. GLFrameBufferObject* mFB;
  26. };
  27. }