#include <D3D11Viewport.h>
◆ ED3DViewportValidFlags
| Enumerator |
|---|
| VIEWPORT_INVALID | |
| VIEWPORT_FULLSCREEN_LOST | |
◆ FD3D11Viewport() [1/2]
◆ FD3D11Viewport() [2/2]
◆ ~FD3D11Viewport()
| FD3D11Viewport::~FD3D11Viewport |
( |
| ) |
|
◆ CheckHDRMonitorStatus()
| void FD3D11Viewport::CheckHDRMonitorStatus |
( |
| ) |
|
Called whenever the Viewport is moved to see if it has moved between HDR or LDR monitors
◆ ConditionalResetSwapChain()
| void FD3D11Viewport::ConditionalResetSwapChain |
( |
bool |
bIgnoreFocus | ) |
|
If the swap chain has been invalidated by DXGI, resets the swap chain to the expected state; otherwise, does nothing. Called once/frame by the game thread on all viewports.
- Parameters
-
| bIgnoreFocus | - Whether the reset should happen regardless of whether the window is focused. |
◆ EnableHDR()
| void FD3D11Viewport::EnableHDR |
( |
| ) |
|
|
protected |
Enable HDR meta data transmission and set the necessary color space.
◆ GetBackBuffer()
◆ GetCustomPresent()
Returns currently set custom present handler.
Reimplemented from FRHIViewport.
◆ GetNativeBackBufferRT()
| void * FD3D11Viewport::GetNativeBackBufferRT |
( |
| ) |
const |
|
overridevirtual |
Returns access to the platform-specific native resource pointer to a backbuffer rendertarget. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
- Returns
- The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason
Reimplemented from FRHIViewport.
◆ GetNativeBackBufferTexture()
| void * FD3D11Viewport::GetNativeBackBufferTexture |
( |
| ) |
const |
|
overridevirtual |
Returns access to the platform-specific native resource pointer to a backbuffer texture. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
- Returns
- The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason
Reimplemented from FRHIViewport.
◆ GetNativeSwapChain()
| void * FD3D11Viewport::GetNativeSwapChain |
( |
| ) |
const |
|
overridevirtual |
Returns access to the platform-specific native resource pointer. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
- Returns
- The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason
Reimplemented from FRHIViewport.
◆ GetNativeWindow()
| virtual void * FD3D11Viewport::GetNativeWindow |
( |
void ** |
AddParam = nullptr | ) |
const |
|
inlineoverridevirtual |
Returns access to the platform-specific native window. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
- Returns
- The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason. AddParam could represent any additional platform-specific data (could be null).
Reimplemented from FRHIViewport.
◆ GetRenderTargetFormat()
◆ GetSizeXY()
| FIntPoint FD3D11Viewport::GetSizeXY |
( |
| ) |
const |
|
inline |
◆ GetSwapChain()
◆ GetSwapChainFlags()
| uint32 FD3D11Viewport::GetSwapChainFlags |
( |
| ) |
|
|
protected |
Gets the swap chain flags
Returns the current swap chain flags but with the same tearing policy used during construction.
◆ GetSwapChainSurface()
Creates a FD3D11Surface to represent a swap chain's back buffer.
◆ IssueFrameEvent()
◆ Present()
Presents the swap chain. Returns true if Present was done by Engine.
◆ PresentChecked()
Presents the swap chain checking the return result. Returns true if Present was done by Engine.
Presents the swap chain checking the return result.
◆ PresentWithVsyncDWM()
Presents the frame synchronizing with DWM.
Blocks the CPU to synchronize with vblank by communicating with DWM.
◆ ResetSwapChainInternal()
| void FD3D11Viewport::ResetSwapChainInternal |
( |
bool |
bIgnoreFocus | ) |
|
|
protected |
◆ Resize()
◆ SetCustomPresent()
Sets custom Present handler on the viewport
Reimplemented from FRHIViewport.
◆ SetupDXGI_MODE_DESC()
◆ ShutdownHDR()
| void FD3D11Viewport::ShutdownHDR |
( |
| ) |
|
|
protected |
Disable HDR meta data transmission and set the necessary color space.
◆ WaitForFrameEventCompletion()
| virtual void FD3D11Viewport::WaitForFrameEventCompletion |
( |
| ) |
|
|
inlineoverridevirtual |
◆ BackBuffer
◆ BackBufferCount
| uint32 FD3D11Viewport::BackBufferCount |
|
protected |
◆ bAllowTearing
| bool FD3D11Viewport::bAllowTearing |
|
protected |
◆ bForcedFullscreenDisplay
| bool FD3D11Viewport::bForcedFullscreenDisplay |
|
protected |
◆ bIsFullscreen
| bool FD3D11Viewport::bIsFullscreen |
|
protected |
◆ bNeedSwapChain
| bool FD3D11Viewport::bNeedSwapChain |
|
protected |
◆ bSyncedLastFrame
| bool FD3D11Viewport::bSyncedLastFrame |
|
protected |
◆ CustomPresent
◆ D3DRHI
◆ DisplayColorGamut
◆ DisplayOutputFormat
◆ ForcedFullscreenOutput
◆ FrameSyncEvent
An event used to track the GPU's progress.
◆ GSwapChainFlags
◆ LastCompleteTime
| uint64 FD3D11Viewport::LastCompleteTime |
|
protected |
◆ LastFlipTime
| uint64 FD3D11Viewport::LastFlipTime |
|
protected |
◆ LastFrameComplete
| uint64 FD3D11Viewport::LastFrameComplete |
|
protected |
◆ MaximumFrameLatency
| uint32 FD3D11Viewport::MaximumFrameLatency |
|
protected |
◆ PixelFormat
◆ PresentFailCount
| uint32 FD3D11Viewport::PresentFailCount |
|
protected |
◆ SizeX
◆ SizeY
◆ SwapChain
◆ SyncCounter
| int32 FD3D11Viewport::SyncCounter |
|
protected |
◆ ValidState
◆ WindowHandle
| HWND FD3D11Viewport::WindowHandle |
|
protected |
The documentation for this class was generated from the following files: