16 __forceinline
static float AspectRatio() noexcept
18 return static_cast<float>(sWindowWidth) / sWindowHeight;
21 static const bool sIsFullscreenWindow;
22 static const std::uint32_t sCpuProcessorCount;
23 static const std::uint32_t sSwapChainBufferCount{ 4U };
24 static const std::uint32_t sQueuedFrameCount{ sSwapChainBufferCount - 1U };
25 static const std::uint32_t sWindowWidth;
26 static const std::uint32_t sWindowHeight;
29 static const DXGI_FORMAT sFrameBufferRTFormat;
30 static const DXGI_FORMAT sFrameBufferFormat;
33 static const DXGI_FORMAT sColorBufferFormat;
36 static const DXGI_FORMAT sDepthStencilFormat;
39 static const DXGI_FORMAT sDepthStencilViewFormat;
42 static const DXGI_FORMAT sDepthStencilSRVFormat;
44 static const float sNearPlaneZ;
45 static const float sFarPlaneZ;
46 static const float sVerticalFieldOfView;
48 static const D3D12_VIEWPORT sScreenViewport;
49 static const D3D12_RECT sScissorRect;
54 static const float sSecondsPerFrame;
Definition: SettingsManager.h:7