BsD3D11TextureManager.h 807 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include "BsD3D11Prerequisites.h"
  3. #include "BsTextureManager.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief Handles creation of DirectX 11 textures.
  8. */
  9. class BS_D3D11_EXPORT D3D11TextureManager : public TextureManager
  10. {
  11. public:
  12. D3D11TextureManager();
  13. ~D3D11TextureManager();
  14. /**
  15. * @copydoc TextureManager::getNativeFormat
  16. */
  17. PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage, bool hwGamma);
  18. protected:
  19. /**
  20. * @copydoc TextureManager::createTextureImpl
  21. */
  22. TexturePtr createTextureImpl();
  23. /**
  24. * @copydoc TextureManager::createRenderTextureImpl
  25. */
  26. RenderTexturePtr createRenderTextureImpl();
  27. /**
  28. * @copydoc TextureManager::createMultiRenderTextureImpl
  29. */
  30. MultiRenderTexturePtr createMultiRenderTextureImpl();
  31. };
  32. }