BsD3D11SamplerState.h 674 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include "BsD3D11Prerequisites.h"
  3. #include "BsSamplerState.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief DirectX 11 implementation of a sampler state. Wraps a DX11
  8. * sampler state object.
  9. */
  10. class BS_D3D11_EXPORT D3D11SamplerState : public SamplerState
  11. {
  12. public:
  13. ~D3D11SamplerState();
  14. ID3D11SamplerState* getInternal() const { return mSamplerState; }
  15. protected:
  16. friend class D3D11RenderStateManager;
  17. D3D11SamplerState();
  18. /**
  19. * @copydoc SamplerState::initialize_internal
  20. */
  21. void initialize_internal();
  22. /**
  23. * @copydoc SamplerState::destroy_internal
  24. */
  25. void destroy_internal();
  26. ID3D11SamplerState* mSamplerState;
  27. };
  28. }