CmD3D11TextureManager.h 545 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "CmD3D11Prerequisites.h"
  3. #include "CmTextureManager.h"
  4. namespace CamelotFramework
  5. {
  6. class CM_D3D11_EXPORT D3D11TextureManager : public TextureManager
  7. {
  8. public:
  9. D3D11TextureManager();
  10. ~D3D11TextureManager();
  11. /// @copydoc TextureManager::getNativeFormat
  12. PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage);
  13. protected:
  14. TexturePtr createTextureImpl();
  15. RenderTexturePtr createRenderTextureImpl();
  16. MultiRenderTexturePtr createMultiRenderTextureImpl();
  17. };
  18. }