BsD3D11RenderTexture.h 618 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include "BsD3D11Prerequisites.h"
  3. #include "BsTexture.h"
  4. #include "BsRenderTexture.h"
  5. namespace BansheeEngine
  6. {
  7. /**
  8. * @brief DirectX 11 implementation of a render texture.
  9. */
  10. class D3D11RenderTexture : public RenderTexture
  11. {
  12. public:
  13. virtual ~D3D11RenderTexture();
  14. /**
  15. * @copydoc RenderTexture::requiresTextureFlipping
  16. */
  17. bool requiresTextureFlipping() const { return false; }
  18. /**
  19. * @copydoc RenderTexture::getCustomAttribute
  20. */
  21. void getCustomAttribute(const String& name, void* pData) const;
  22. protected:
  23. friend class D3D11TextureManager;
  24. D3D11RenderTexture();
  25. };
  26. }