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*
36 lines
924 B
C++
36 lines
924 B
C++
/********************************************************
|
|
* GraphicsDeviceCreationParameters.h *
|
|
* *
|
|
* XFX GraphicsDeviceCreationParameters definition file*
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _XFX_GRAPHICS_GRAPHICSDEVICECREATIONPARAMETERS_
|
|
#define _XFX_GRAPHICS_GRAPHICSDEVICECREATIONPARAMETERS_
|
|
|
|
#include "Enums.h"
|
|
#include "GraphicsAdapter.h"
|
|
|
|
namespace XFX
|
|
{
|
|
namespace Graphics
|
|
{
|
|
/// <summary>
|
|
/// Describes the creation parameters for a device.
|
|
/// </summary>
|
|
struct GraphicsDeviceCreationParameters
|
|
{
|
|
private:
|
|
GraphicsAdapter _adapter;
|
|
DeviceType_t _deviceType;
|
|
|
|
public:
|
|
GraphicsAdapter Adapter();
|
|
DeviceType_t DeviceType_();
|
|
|
|
GraphicsDeviceCreationParameters(GraphicsAdapter graphicsAdapter, DeviceType_t deviceType);
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_XFX_GRAPHICS_GRAPHICSDEVICECREATIONPARAMETERS_
|