mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
/********************************************************
|
|
* PresentationParameters.h *
|
|
* *
|
|
* XFX PresentationParameters definition file *
|
|
* Copyright © 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(const Object* 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_
|