#include <DeviceResources.h>
◆ DeviceResources()
DX::DeviceResources::DeviceResources |
( |
| ) |
|
◆ ~DeviceResources()
DX::DeviceResources::~DeviceResources |
( |
| ) |
|
|
virtualdefault |
◆ ApplyDisplaySettings()
void DX::DeviceResources::ApplyDisplaySettings |
( |
| ) |
|
◆ Begin()
bool DX::DeviceResources::Begin |
( |
| ) |
|
◆ ClearDepthStencil()
void DX::DeviceResources::ClearDepthStencil |
( |
| ) |
const |
◆ ClearRenderTarget()
void DX::DeviceResources::ClearRenderTarget |
( |
ID3D11RenderTargetView * | pRTView, |
|
|
float | color[4] ) const |
◆ CreateBackBuffer()
void DX::DeviceResources::CreateBackBuffer |
( |
| ) |
|
◆ FinishCommandList()
void DX::DeviceResources::FinishCommandList |
( |
bool | bExecute = true | ) |
const |
◆ Get()
◆ GetAdapter()
IDXGIAdapter1 * DX::DeviceResources::GetAdapter |
( |
| ) |
const |
|
inline |
◆ GetAdapterDesc()
DXGI_ADAPTER_DESC DX::DeviceResources::GetAdapterDesc |
( |
| ) |
const |
◆ GetBackBuffer()
◆ GetCachedOutputAndDesc()
void DX::DeviceResources::GetCachedOutputAndDesc |
( |
IDXGIOutput ** | output, |
|
|
DXGI_OUTPUT_DESC * | outputDesc ) const |
Retrieve current output and output description. Use cached data first to avoid delays due to dxgi internal multithreading synchronization.
- Parameters
-
output | The output |
outputDesc | The output description |
◆ GetD3DContext()
ID3D11DeviceContext1 * DX::DeviceResources::GetD3DContext |
( |
| ) |
const |
|
inline |
◆ GetD3DDevice()
ID3D11Device1 * DX::DeviceResources::GetD3DDevice |
( |
| ) |
const |
|
inline |
◆ GetDebugInfo()
◆ GetDeviceFeatureLevel()
D3D_FEATURE_LEVEL DX::DeviceResources::GetDeviceFeatureLevel |
( |
| ) |
const |
|
inline |
◆ GetDisplayMode()
void DX::DeviceResources::GetDisplayMode |
( |
DXGI_MODE_DESC * | mode | ) |
const |
◆ GetDpi()
float DX::DeviceResources::GetDpi |
( |
| ) |
const |
|
inline |
◆ GetDSV()
ID3D11DepthStencilView * DX::DeviceResources::GetDSV |
( |
| ) |
const |
|
inline |
◆ GetIDXGIFactory2()
IDXGIFactory2 * DX::DeviceResources::GetIDXGIFactory2 |
( |
| ) |
const |
|
inline |
◆ GetImmediateContext()
ID3D11DeviceContext1 * DX::DeviceResources::GetImmediateContext |
( |
| ) |
const |
|
inline |
◆ GetLogicalSize()
winrt::Windows::Foundation::Size DX::DeviceResources::GetLogicalSize |
( |
| ) |
const |
|
inline |
◆ GetMonitor()
HMONITOR DX::DeviceResources::GetMonitor |
( |
| ) |
const |
◆ GetOutput()
void DX::DeviceResources::GetOutput |
( |
IDXGIOutput ** | ppOutput | ) |
const |
◆ GetOutputSize()
winrt::Windows::Foundation::Size DX::DeviceResources::GetOutputSize |
( |
| ) |
const |
|
inline |
◆ GetScreenViewport()
D3D11_VIEWPORT DX::DeviceResources::GetScreenViewport |
( |
| ) |
const |
|
inline |
◆ GetSwapChain()
IDXGISwapChain1 * DX::DeviceResources::GetSwapChain |
( |
| ) |
const |
|
inline |
◆ GetSwapChainColorSpaces()
std::vector< DXGI_COLOR_SPACE_TYPE > DX::DeviceResources::GetSwapChainColorSpaces |
( |
| ) |
const |
◆ HandleDeviceLost()
void DX::DeviceResources::HandleDeviceLost |
( |
bool | removed | ) |
|
◆ HasValidDevice()
bool DX::DeviceResources::HasValidDevice |
( |
| ) |
const |
|
inline |
◆ IsDXVA2SharedDecoderSurfaces()
bool DX::DeviceResources::IsDXVA2SharedDecoderSurfaces |
( |
| ) |
const |
|
inline |
◆ IsGCNOrOlder()
bool DX::DeviceResources::IsGCNOrOlder |
( |
| ) |
const |
◆ IsHDROutput()
bool DX::DeviceResources::IsHDROutput |
( |
| ) |
const |
|
inline |
◆ IsNV12SharedTexturesSupported()
bool DX::DeviceResources::IsNV12SharedTexturesSupported |
( |
| ) |
const |
|
inline |
◆ IsStereoAvailable()
bool DX::DeviceResources::IsStereoAvailable |
( |
| ) |
const |
◆ IsStereoEnabled()
bool DX::DeviceResources::IsStereoEnabled |
( |
| ) |
const |
|
inline |
◆ IsSuperResolutionSupported()
bool DX::DeviceResources::IsSuperResolutionSupported |
( |
| ) |
const |
|
inline |
◆ IsTransferPQ()
bool DX::DeviceResources::IsTransferPQ |
( |
| ) |
const |
|
inline |
◆ Present()
void DX::DeviceResources::Present |
( |
| ) |
|
◆ Register()
◆ RegisterDeviceNotify()
void DX::DeviceResources::RegisterDeviceNotify |
( |
IDeviceNotify * | deviceNotify | ) |
|
◆ Release()
void DX::DeviceResources::Release |
( |
| ) |
|
◆ ReleaseBackBuffer()
void DX::DeviceResources::ReleaseBackBuffer |
( |
| ) |
|
◆ ResizeBuffers()
void DX::DeviceResources::ResizeBuffers |
( |
| ) |
|
◆ SetDpi()
void DX::DeviceResources::SetDpi |
( |
float | dpi | ) |
|
◆ SetFullScreen()
◆ SetHdrColorSpace()
void DX::DeviceResources::SetHdrColorSpace |
( |
const DXGI_COLOR_SPACE_TYPE | colorSpace | ) |
|
◆ SetHdrMetaData()
void DX::DeviceResources::SetHdrMetaData |
( |
DXGI_HDR_METADATA_HDR10 & | hdr10 | ) |
const |
◆ SetLogicalSize()
void DX::DeviceResources::SetLogicalSize |
( |
float | width, |
|
|
float | height ) |
◆ SetMonitor()
void DX::DeviceResources::SetMonitor |
( |
HMONITOR | monitor | ) |
|
◆ SetMultithreadProtected()
bool DX::DeviceResources::SetMultithreadProtected |
( |
bool | enabled | ) |
const |
◆ SetStereoIdx()
void DX::DeviceResources::SetStereoIdx |
( |
byte | idx | ) |
|
|
inline |
◆ SetViewPort()
void DX::DeviceResources::SetViewPort |
( |
D3D11_VIEWPORT & | viewPort | ) |
const |
◆ ToggleHDR()
◆ Unregister()
◆ UseFence()
bool DX::DeviceResources::UseFence |
( |
| ) |
const |
|
inline |
◆ ValidateDevice()
void DX::DeviceResources::ValidateDevice |
( |
| ) |
|
The documentation for this class was generated from the following files: