XeSS-SR SDK API Reference Guide 2.0.2
Loading...
Searching...
No Matches
xess_d3d12.h File Reference
#include <d3d12.h>
#include "xess.h"

Go to the source code of this file.

Data Structures

struct  _xess_d3d12_execute_params_t
 Execution parameters for XeSS D3D12. More...
struct  _xess_d3d12_init_params_t
 Initialization parameters for XeSS D3D12. More...

Typedefs

typedef struct _xess_d3d12_execute_params_t xess_d3d12_execute_params_t
 Execution parameters for XeSS D3D12.
typedef struct _xess_d3d12_init_params_t xess_d3d12_init_params_t
 Initialization parameters for XeSS D3D12.

Functions

XESS_API xess_result_t xessD3D12CreateContext (ID3D12Device *pDevice, xess_context_handle_t *phContext)
 Create an XeSS D3D12 context.
XESS_API xess_result_t xessD3D12BuildPipelines (xess_context_handle_t hContext, ID3D12PipelineLibrary *pPipelineLibrary, bool blocking, uint32_t initFlags)
 Initiates pipeline build process This function can only be called between xessD3D12CreateContext and xessD3D12Init This call initiates build of DX12 pipelines and kernel compilation This call can be blocking (if blocking set to true) or non-blocking. In case of non-blocking call library will wait for pipeline build on call to xessD3D12Init If pPipelineLibrary passed to this call - same pipeline library must be passed to xessD3D12Init.
XESS_API xess_result_t xessD3D12Init (xess_context_handle_t hContext, const xess_d3d12_init_params_t *pInitParams)
 Initialize XeSS D3D12. This is a blocking call that initializes XeSS and triggers internal resources allocation and JIT for the XeSS kernels. The user must ensure that any pending command lists are completed before re-initialization. When During initialization, XeSS can create staging buffers and copy queues to upload internal data. These will be destroyed at the end of initialization.
XESS_API xess_result_t xessD3D12GetInitParams (xess_context_handle_t hContext, xess_d3d12_init_params_t *pInitParams)
 Get XeSS D3D12 initialization parameters.
XESS_API xess_result_t xessD3D12Execute (xess_context_handle_t hContext, ID3D12GraphicsCommandList *pCommandList, const xess_d3d12_execute_params_t *pExecParams)
 Record XeSS upscaling commands into the command list.

Typedef Documentation

◆ xess_d3d12_execute_params_t

Execution parameters for XeSS D3D12.

◆ xess_d3d12_init_params_t

Initialization parameters for XeSS D3D12.