CmD3D11SamplerState.h 605 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include "CmD3D11Prerequisites.h"
  3. #include "CmSamplerState.h"
  4. namespace CamelotFramework
  5. {
  6. class CM_D3D11_EXPORT D3D11SamplerState : public SamplerState
  7. {
  8. public:
  9. ~D3D11SamplerState();
  10. ID3D11SamplerState* getInternal() const { return mSamplerState; }
  11. protected:
  12. friend class D3D11RenderStateManager;
  13. D3D11SamplerState();
  14. /**
  15. * @copydoc SamplerState::initialize_internal().
  16. */
  17. void initialize_internal();
  18. /**
  19. * @copydoc SamplerState::destroy_internal().
  20. */
  21. void destroy_internal();
  22. ID3D11SamplerState* mSamplerState;
  23. };
  24. }