mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Began transforming of current API to represent XNA 4.0, which is cleaner. Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating) Currently hunting down GraphicsDevice initialization Up next: (hopefully successful) rendering of primitives
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_
|