mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
36 lines
753 B
C
36 lines
753 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_
|