mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
22 lines
616 B
C++
22 lines
616 B
C++
#ifndef XNA_GRAPHICS_PRESENTPARAMS_HPP
|
|
#define XNA_GRAPHICS_PRESENTPARAMS_HPP
|
|
|
|
#include "../default.hpp"
|
|
|
|
namespace xna {
|
|
struct PresentationParameters {
|
|
constexpr PresentationParameters() = default;
|
|
|
|
Uint BackBufferWidth{ 0 };
|
|
Uint BackBufferHeight{ 0 };
|
|
SurfaceFormat BackBufferFormat{ SurfaceFormat::Color };
|
|
SwapEffect PresentationSwapEffect{ SwapEffect::FlipDiscard };
|
|
intptr_t DeviceWindowHandle{ 0 };
|
|
bool IsFullscreen{ false };
|
|
Int MultiSampleCount{ 0 };
|
|
PresentInterval PresentationInterval{ PresentInterval::Default };
|
|
DepthFormat DepthStencilFormat{ DepthFormat::None };
|
|
};
|
|
}
|
|
|
|
#endif |