2013-05-05 18:18:41 +02:00
|
|
|
/********************************************************
|
|
|
|
* PresentationParameters.h *
|
|
|
|
* *
|
|
|
|
* XFX PresentationParameters definition file *
|
2013-06-02 14:32:43 +02:00
|
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
2013-05-05 18:18:41 +02:00
|
|
|
********************************************************/
|
|
|
|
#ifndef _XFX_GRAPHICS_PRESENTATIONPARAMETERS_
|
|
|
|
#define _XFX_GRAPHICS_PRESENTATIONPARAMETERS_
|
|
|
|
|
|
|
|
#include <System/Interfaces.h>
|
|
|
|
#include "Enums.h"
|
|
|
|
|
|
|
|
using namespace System;
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
{
|
|
|
|
struct Rectangle;
|
|
|
|
|
|
|
|
namespace Graphics
|
|
|
|
{
|
|
|
|
// Contains presentation parameters.
|
|
|
|
class PresentationParameters : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SurfaceFormat_t BackBufferFormat;
|
|
|
|
int BackBufferHeight;
|
|
|
|
int BackBufferWidth;
|
|
|
|
Rectangle getBounds() const;
|
|
|
|
DepthFormat_t DepthStencilFormat;
|
|
|
|
bool IsFullScreen;
|
|
|
|
int MultiSampleCount;
|
|
|
|
PresentInterval_t PresentationInterval;
|
|
|
|
RenderTargetUsage_t RenderTargetUsage;
|
|
|
|
|
|
|
|
PresentationParameters();
|
|
|
|
|
|
|
|
PresentationParameters* Clone() const;
|
2013-05-31 15:58:00 +02:00
|
|
|
bool Equals(Object const * const obj) const;
|
2013-05-05 18:18:41 +02:00
|
|
|
bool Equals(const PresentationParameters other) const;
|
2013-07-11 17:25:49 +02:00
|
|
|
static int GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
bool operator!=(const PresentationParameters& other) const;
|
|
|
|
bool operator==(const PresentationParameters& other) const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_XFX_GRAPHICS_PRESENTATIONPARAMETERS_
|