mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
36 lines
718 B
C++
36 lines
718 B
C++
#ifndef _XFX_GRAPHICS_DEPTHSTENCILSTATE_
|
|
#define _XFX_GRAPHICS_DEPTHSTENCILSTATE_
|
|
|
|
#include "GraphicsResource.h"
|
|
|
|
namespace XFX
|
|
{
|
|
namespace Graphics
|
|
{
|
|
// Contains depth-stencil state for the device.
|
|
class DepthStencilState : public GraphicsResource
|
|
{
|
|
private:
|
|
bool isBound;
|
|
|
|
protected:
|
|
void Dispose(bool disposing);
|
|
|
|
public:
|
|
static const DepthStencilState Default;
|
|
static const DepthStencilState DepthRead;
|
|
static const DepthStencilState None;
|
|
|
|
DepthStencilState();
|
|
~DepthStencilState();
|
|
|
|
int GetType() const;
|
|
|
|
bool operator==(const DepthStencilState& right) const;
|
|
bool operator!=(const DepthStencilState& right) const;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_XFX_GRAPHICS_DEPTHSTENCILSTATE_
|