1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/Graphics/PresentationParameters.h
Tom Lint 81af66d336 Code Audit
Replaced all copyright symbols with (c) to improve cross-platform
reading
Added classes to XFX::Audio namespace
Added and updated classes in XFX::Graphics namespace
Updated event function signature
Replaced const char* ToString() with const String& ToString()
2013-06-02 14:32:43 +02:00

49 lines
1.3 KiB
C++

/********************************************************
* PresentationParameters.h *
* *
* XFX PresentationParameters definition file *
* Copyright (c) XFX Team. All Rights Reserved *
********************************************************/
#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;
bool Equals(Object const * const obj) const;
bool Equals(const PresentationParameters other) const;
int GetType() const;
bool operator!=(const PresentationParameters& other) const;
bool operator==(const PresentationParameters& other) const;
};
}
}
#endif //_XFX_GRAPHICS_PRESENTATIONPARAMETERS_