BsD3D9TextureManager.h 827 B

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