1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/inc/xna/graphics/presentparams.hpp

22 lines
616 B
C++
Raw Normal View History

#ifndef XNA_GRAPHICS_PRESENTPARAMS_HPP
#define XNA_GRAPHICS_PRESENTPARAMS_HPP
2024-04-23 16:11:17 -03:00
#include "../default.hpp"
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 };
bool IsFullscreen{ false };
Int MultiSampleCount{ 0 };
PresentInterval PresentationInterval{ PresentInterval::Default };
DepthFormat DepthStencilFormat{ DepthFormat::None };
};
}
#endif