| 123456789101112131415161718192021222324252627 |
- #pragma once
- #include "BsGLPrerequisites.h"
- #include "BsGLTexture.h"
- #include "BsGLSupport.h"
- #include "BsTextureManager.h"
- namespace BansheeEngine
- {
- /** GL-specific implementation of a TextureManager */
- class BS_RSGL_EXPORT GLTextureManager : public TextureManager
- {
- public:
- GLTextureManager(GLSupport& support);
- virtual ~GLTextureManager();
- /// @copydoc TextureManager::getNativeFormat
- PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage);
- protected:
- TexturePtr createTextureImpl();
- RenderTexturePtr createRenderTextureImpl();
- MultiRenderTexturePtr createMultiRenderTextureImpl();
- GLSupport& mGLSupport;
- };
- }
|