1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/Graphics/DepthStencilBuffer.h
Tom Lint 52ef14a94b Transition from SVN to Git
Added implicit conversion to base types to all primary types (UInt32 et
al)
Added implicit conversion from System::String to const char*
2013-05-05 18:18:41 +02:00

49 lines
1.2 KiB
C++

#ifndef _XFX_GRAPHICS_DEPTHSTENCILBUFFER_
#define _XFX_GRAPHICS_DEPTHSTENCILBUFFER_
#include <System/Interfaces.h>
#include <System/Types.h>
#include "Enums.h"
using namespace System;
namespace XFX
{
namespace Graphics
{
class GraphicsDevice;
// Queries and prepares depth stencil buffers.
class DepthStencilBuffer : public IDisposable, virtual Object
{
private:
GraphicsDevice* _graphicsDevice;
DepthFormat_t _format;
bool isDisposed;
int _multiSampleQuality;
MultiSampleType_t _multiSampleType;
protected:
virtual void Dispose(bool __p1);
public:
DepthFormat_t Format();
GraphicsDevice* getGraphicsDevice();
bool IsDisposed();
int MultiSampleQuality();
MultiSampleType_t getMultiSampleType();
const int Height;
const int Width;
DepthStencilBuffer(GraphicsDevice* graphicsDevice, const int width, const int height, DepthFormat_t format);
DepthStencilBuffer(GraphicsDevice* graphicsDevice, const int width, const int height, DepthFormat_t format, MultiSampleType_t multiSampleType, int multiSampleQuality);
DepthStencilBuffer(const DepthStencilBuffer &obj);
virtual ~DepthStencilBuffer();
void Dispose();
};
}
}
#endif //_XFX_GRAPHICS_DEPTHSTENCILBUFFER_