#pragma once #include "../DepthStencilState.h" #import CC_BACKEND_BEGIN class DepthStencilStateMTL : public DepthStencilState { public: DepthStencilStateMTL(id mtlDevice, const DepthStencilDescriptor& descriptor); ~DepthStencilStateMTL(); inline id getMTLDepthStencilState() const { return _mtlDepthStencilState; } private: id _mtlDepthStencilState = nil; }; CC_BACKEND_END