XeSS-FG SDK API Reference Guide 1.3.1
Loading...
Searching...
No Matches
_xefg_swapchain_d3d12_init_params_t Struct Reference

Initialization parameters. Optional external allocations are only available for the internal XeSS-FG resources, the Swap Chain API resources will still be managed by the API. More...

#include <xefg_swapchain_d3d12.h>

Data Fields

IDXGISwapChain * pApplicationSwapChain
uint32_t initFlags
uint32_t maxInterpolatedFrames
 XeSS-FG won't produce more than this number of interpolated frames.
uint32_t creationNodeMask
uint32_t visibleNodeMask
ID3D12Heap * pTempBufferHeap
uint64_t bufferHeapOffset
ID3D12Heap * pTempTextureHeap
uint64_t textureHeapOffset
ID3D12PipelineLibrary * pPipelineLibrary
xefg_swapchain_ui_mode_t uiMode

Detailed Description

Initialization parameters. Optional external allocations are only available for the internal XeSS-FG resources, the Swap Chain API resources will still be managed by the API.

Definition at line 34 of file xefg_swapchain_d3d12.h.

Field Documentation

◆ bufferHeapOffset

uint64_t bufferHeapOffset

Offset in the externally allocated heap for temporary buffer storage.

Definition at line 67 of file xefg_swapchain_d3d12.h.

◆ creationNodeMask

uint32_t creationNodeMask

Specifies the node mask for internally created resources on multi-adapter systems.

Definition at line 58 of file xefg_swapchain_d3d12.h.

◆ initFlags

uint32_t initFlags

Initialization flags.

Definition at line 39 of file xefg_swapchain_d3d12.h.

◆ maxInterpolatedFrames

uint32_t maxInterpolatedFrames

XeSS-FG won't produce more than this number of interpolated frames.

The value must be between one and the maximum supported number of interpolated frames or XEFG_SWAPCHAIN_USE_MAX_SUPPORTED_INTERPOLATED_FRAMES.

If the value is set to XEFG_SWAPCHAIN_USE_MAX_SUPPORTED_INTERPOLATED_FRAMES, XeSS-FG will automatically pick the maximum supported number.

See also

Definition at line 55 of file xefg_swapchain_d3d12.h.

◆ pApplicationSwapChain

IDXGISwapChain* pApplicationSwapChain

Pointer to the application swap chain.

Definition at line 37 of file xefg_swapchain_d3d12.h.

◆ pPipelineLibrary

ID3D12PipelineLibrary* pPipelineLibrary

Pointer to pipeline library. If not NULL, then it will be used for pipeline caching.

Definition at line 75 of file xefg_swapchain_d3d12.h.

◆ pTempBufferHeap

ID3D12Heap* pTempBufferHeap

Optional externally allocated buffer storage for XeSS-FG. If NULL the storage is allocated internally. If allocated, the heap type must be D3D12_HEAP_TYPE_DEFAULT. This heap is not accessed by the CPU.

Definition at line 65 of file xefg_swapchain_d3d12.h.

◆ pTempTextureHeap

ID3D12Heap* pTempTextureHeap

Optional externally allocated texture storage for XeSS-FG. If NULL the storage is allocated internally. If allocated, the heap type must be D3D12_HEAP_TYPE_DEFAULT. This heap is not accessed by the CPU.

Definition at line 71 of file xefg_swapchain_d3d12.h.

◆ textureHeapOffset

uint64_t textureHeapOffset

Offset in the externally allocated heap for temporary texture storage.

Definition at line 73 of file xefg_swapchain_d3d12.h.

◆ uiMode

Determines UI composition mode when UI composition is enabled. Use XEFG_SWAPCHAIN_UI_MODE_AUTO to determine UI composition mode based on the provided inputs.

See also
xefgSwapChainSetUiCompositionState

Definition at line 80 of file xefg_swapchain_d3d12.h.

◆ visibleNodeMask

uint32_t visibleNodeMask

Specifies the node visibility mask for internally created resources on multi-adapter systems.

Definition at line 61 of file xefg_swapchain_d3d12.h.


The documentation for this struct was generated from the following file: