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 {
|
|
|
|
class PresentationParameters {
|
|
|
|
public:
|
|
|
|
Int BackBufferWidth{ 0 };
|
|
|
|
Int BackBufferHeight{ 0 };
|
|
|
|
SurfaceFormat BackBufferFormat{ SurfaceFormat::Color };
|
|
|
|
DepthFormat DepthStencilFormat{ DepthFormat::None };
|
|
|
|
Int MultiSampleCount{ 0 };
|
|
|
|
xna::DisplayOrientation DisplayOrientation{ xna::DisplayOrientation::Default };
|
|
|
|
PresentInterval PresentationInterval{ PresentInterval::Default };
|
|
|
|
xna::RenderTargetUsage RenderTargetUsage{ xna::RenderTargetUsage::DiscardContents };
|
|
|
|
intptr_t DeviceWindowHandle{ 0 };
|
|
|
|
bool IsFullScreen{ false };
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|