2010-12-04 16:14:34 +00:00
|
|
|
|
/********************************************************
|
|
|
|
|
* PresentationParameters.h *
|
|
|
|
|
* *
|
|
|
|
|
* XFX PresentationParameters definition file *
|
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
2011-01-16 00:47:37 +00:00
|
|
|
|
#ifndef _XFX_GRAPHICS_PRESENTATIONPARAMETERS_
|
|
|
|
|
#define _XFX_GRAPHICS_PRESENTATIONPARAMETERS_
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2012-03-29 22:02:43 +00:00
|
|
|
|
#include <System/Interfaces.h>
|
2010-12-04 16:14:34 +00:00
|
|
|
|
#include "Enums.h"
|
|
|
|
|
|
|
|
|
|
using namespace System;
|
|
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
|
{
|
2012-09-28 20:36:02 +00:00
|
|
|
|
struct Rectangle;
|
|
|
|
|
|
2010-12-04 16:14:34 +00:00
|
|
|
|
namespace Graphics
|
|
|
|
|
{
|
2012-03-29 22:02:43 +00:00
|
|
|
|
// Contains presentation parameters.
|
2012-09-28 20:36:02 +00:00
|
|
|
|
class PresentationParameters : public Object
|
2010-12-04 16:14:34 +00:00
|
|
|
|
{
|
2012-03-29 22:02:43 +00:00
|
|
|
|
public:
|
|
|
|
|
SurfaceFormat_t BackBufferFormat;
|
|
|
|
|
int BackBufferHeight;
|
|
|
|
|
int BackBufferWidth;
|
2012-09-28 20:36:02 +00:00
|
|
|
|
Rectangle getBounds() const;
|
|
|
|
|
DepthFormat_t DepthStencilFormat;
|
2012-03-29 22:02:43 +00:00
|
|
|
|
bool IsFullScreen;
|
2012-09-28 20:36:02 +00:00
|
|
|
|
int MultiSampleCount;
|
2012-03-29 22:02:43 +00:00
|
|
|
|
PresentInterval_t PresentationInterval;
|
2012-09-28 20:36:02 +00:00
|
|
|
|
RenderTargetUsage_t RenderTargetUsage;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2012-03-29 22:02:43 +00:00
|
|
|
|
PresentationParameters();
|
2012-09-28 20:36:02 +00:00
|
|
|
|
|
|
|
|
|
PresentationParameters* Clone() const;
|
|
|
|
|
bool Equals(const Object* obj) const;
|
2012-03-29 22:02:43 +00:00
|
|
|
|
bool Equals(const PresentationParameters other) const;
|
2012-09-28 20:36:02 +00:00
|
|
|
|
int GetType() const;
|
2012-03-29 22:02:43 +00:00
|
|
|
|
|
2012-09-28 20:36:02 +00:00
|
|
|
|
bool operator!=(const PresentationParameters& other) const;
|
|
|
|
|
bool operator==(const PresentationParameters& other) const;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-16 00:47:37 +00:00
|
|
|
|
#endif //_XFX_GRAPHICS_PRESENTATIONPARAMETERS_
|