2024-03-30 14:25:08 -03:00
|
|
|
#ifndef XNA_GRAPHICS_PRESENTPARAMS_HPP
|
|
|
|
#define XNA_GRAPHICS_PRESENTPARAMS_HPP
|
|
|
|
|
2024-04-23 16:11:17 -03:00
|
|
|
#include "../default.hpp"
|
2024-03-30 14:25:08 -03:00
|
|
|
|
|
|
|
namespace xna {
|
2024-05-22 09:55:25 -03:00
|
|
|
struct PresentationParameters {
|
|
|
|
constexpr PresentationParameters() = default;
|
|
|
|
|
|
|
|
Uint BackBufferWidth{ 0 };
|
|
|
|
Uint BackBufferHeight{ 0 };
|
|
|
|
SurfaceFormat BackBufferFormat{ SurfaceFormat::Color };
|
|
|
|
SwapEffect PresentationSwapEffect{ SwapEffect::FlipDiscard };
|
|
|
|
intptr_t DeviceWindowHandle{ 0 };
|
2024-07-30 10:43:39 -03:00
|
|
|
bool IsFullscreen{ false };
|
|
|
|
Int MultiSampleCount{ 0 };
|
|
|
|
PresentInterval PresentationInterval{ PresentInterval::Default };
|
|
|
|
DepthFormat DepthStencilFormat{ DepthFormat::None };
|
2024-03-30 14:25:08 -03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|