| 12345678910111213141516171819202122232425262728293031323334 |
- #pragma once
- #include "BsD3D11Prerequisites.h"
- #include "BsDepthStencilState.h"
- namespace BansheeEngine
- {
- /**
- * @brief DirectX 11 implementation of a depth stencil state.
- * Corresponds directly with a DX11 depth stencil state object.
- */
- class BS_D3D11_EXPORT D3D11DepthStencilStateCore : public DepthStencilStateCore
- {
- public:
- ~D3D11DepthStencilStateCore();
- /**
- * @brief Returns the internal DX11 depth stencil state object.
- */
- ID3D11DepthStencilState* getInternal() const { return mDepthStencilState; }
- protected:
- friend class D3D11RenderStateCoreManager;
- D3D11DepthStencilStateCore(const DEPTH_STENCIL_STATE_DESC& desc, UINT32 id);
- /**
- * @copydoc DepthStencilStateCore::createInternal()
- */
- void createInternal() override;
- ID3D11DepthStencilState* mDepthStencilState;
- };
- }
|