#ifndef IDepthStencilState11_h__ #define IDepthStencilState11_h__ #include "render/IDepthStencilState.h" #include #include #include namespace LifeGraphics { class IDepthStencilState11 : public IDepthStencilState { private: ID3D11Device* device; ID3D11DeviceContext* context; public: ID3D11DepthStencilState* state; IDepthStencilState11(ID3D11Device* _device, ID3D11DepthStencilState* _state) { device = _device; device->GetImmediateContext(&context); state = _state; } ~IDepthStencilState11() { SAFE_RELEASE(state); } }; } #endif // IDepthStencilState11_h__