BRE12
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
BRE::SettingsManager Class Reference

Public Member Functions

 SettingsManager (const SettingsManager &)=delete
 
const SettingsManageroperator= (const SettingsManager &)=delete
 
 SettingsManager (SettingsManager &&)=delete
 
SettingsManageroperator= (SettingsManager &&)=delete
 

Static Public Member Functions

static __forceinline float AspectRatio () noexcept
 

Static Public Attributes

static const bool sIsFullscreenWindow { true }
 
static const std::uint32_t sCpuProcessorCount { 4U }
 
static const std::uint32_t sSwapChainBufferCount { 4U }
 
static const std::uint32_t sQueuedFrameCount { sSwapChainBufferCount - 1U }
 
static const std::uint32_t sWindowWidth { 1920U }
 
static const std::uint32_t sWindowHeight { 1080U }
 
static const DXGI_FORMAT sFrameBufferRTFormat { DXGI_FORMAT_R10G10B10A2_UNORM }
 
static const DXGI_FORMAT sFrameBufferFormat { DXGI_FORMAT_R10G10B10A2_UNORM }
 
static const DXGI_FORMAT sColorBufferFormat { DXGI_FORMAT_R16G16B16A16_FLOAT }
 
static const DXGI_FORMAT sDepthStencilFormat { DXGI_FORMAT_R32_TYPELESS }
 
static const DXGI_FORMAT sDepthStencilViewFormat { DXGI_FORMAT_D32_FLOAT }
 
static const DXGI_FORMAT sDepthStencilSRVFormat { DXGI_FORMAT_R32_FLOAT }
 
static const float sNearPlaneZ { 1.0f }
 
static const float sFarPlaneZ { FLT_MAX }
 
static const float sVerticalFieldOfView { 0.25f * MathUtils::Pi }
 
static const D3D12_VIEWPORT sScreenViewport { 0.0f, 0.0f, SettingsManager::sWindowWidth, SettingsManager::sWindowHeight, 0.0f, 1.0f }
 
static const D3D12_RECT sScissorRect { 0, 0, SettingsManager::sWindowWidth, SettingsManager::sWindowHeight }
 
static const float sSecondsPerFrame { 1.0f / 60.0f }
 

The documentation for this class was generated from the following files: