2024-03-30 14:25:08 -03:00
|
|
|
#ifndef XNA_GAME_GDEVICEINFO_HPP
|
|
|
|
#define XNA_GAME_GDEVICEINFO_HPP
|
|
|
|
|
2024-05-24 12:31:24 -03:00
|
|
|
#include "../default.hpp"
|
2024-03-30 14:25:08 -03:00
|
|
|
|
|
|
|
namespace xna {
|
2024-08-02 11:26:22 -03:00
|
|
|
//Holds the settings for creating a graphics device on Windows.
|
2024-07-30 14:21:35 -03:00
|
|
|
struct GraphicsDeviceInformation {
|
|
|
|
GraphicsDeviceInformation() {
|
|
|
|
PresentParameters = snew<PresentationParameters>();
|
|
|
|
}
|
|
|
|
|
2024-08-02 11:26:22 -03:00
|
|
|
//Specifies which graphics adapter to create the device on.
|
2024-05-24 12:31:24 -03:00
|
|
|
sptr<GraphicsAdapter> Adapter = nullptr;
|
2024-08-02 11:26:22 -03:00
|
|
|
//Gets the graphics profile, which determines the graphics feature set.
|
2024-05-24 12:31:24 -03:00
|
|
|
xna::GraphicsProfile Profile{ xna::GraphicsProfile::Reach };
|
2024-08-02 11:26:22 -03:00
|
|
|
//Specifies the presentation parameters to use when creating a graphics device.
|
2024-07-30 10:43:39 -03:00
|
|
|
sptr<xna::PresentationParameters> PresentParameters = nullptr;
|
2024-07-30 14:21:35 -03:00
|
|
|
};
|
2024-03-30 14:25:08 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|