BsD3D11RenderStateManager.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsD3D11Prerequisites.h"
  5. #include "BsRenderStateManager.h"
  6. namespace BansheeEngine
  7. {
  8. /** @addtogroup D3D11
  9. * @{
  10. */
  11. /** Handles creation of DirectX 11 pipeline states. */
  12. class BS_D3D11_EXPORT D3D11RenderStateCoreManager : public RenderStateCoreManager
  13. {
  14. protected:
  15. /** @copydoc RenderStateCoreManager::createSamplerStateInternal */
  16. virtual SPtr<SamplerStateCore> createSamplerStateInternal(const SAMPLER_STATE_DESC& desc) const override;
  17. /** @copydoc RenderStateCoreManager::createBlendStateInternal */
  18. virtual SPtr<BlendStateCore> createBlendStateInternal(const BLEND_STATE_DESC& desc, UINT32 id) const override;
  19. /** @copydoc RenderStateCoreManager::createRasterizerStateInternal */
  20. virtual SPtr<RasterizerStateCore> createRasterizerStateInternal(const RASTERIZER_STATE_DESC& desc, UINT32 id) const override;
  21. /** @copydoc RenderStateCoreManager::createDepthStencilStateInternal */
  22. virtual SPtr<DepthStencilStateCore> createDepthStencilStateInternal(const DEPTH_STENCIL_STATE_DESC& desc, UINT32 id) const override;
  23. };
  24. /** @} */
  25. }