XeSS-SR SDK API Reference Guide 2.0.2
Loading...
Searching...
No Matches
XeSS D3D11 API exports

Functions

XESS_API xess_result_t xessD3D11CreateContext (ID3D11Device *device, xess_context_handle_t *phContext)
 Create an XeSS D3D11 context.
XESS_API xess_result_t xessD3D11Init (xess_context_handle_t hContext, const xess_d3d11_init_params_t *pInitParams)
 Initialize XeSS D3D11. 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 xessD3D11GetInitParams (xess_context_handle_t hContext, xess_d3d11_init_params_t *pInitParams)
 Get XeSS D3D11 initialization parameters.
XESS_API xess_result_t xessD3D11Execute (xess_context_handle_t hContext, const xess_d3d11_execute_params_t *pExecParams)
 Record XeSS upscaling commands into the command list.

Detailed Description

Function Documentation

◆ xessD3D11CreateContext()

XESS_API xess_result_t xessD3D11CreateContext ( ID3D11Device * device,
xess_context_handle_t * phContext )

Create an XeSS D3D11 context.

Parameters
deviceA D3D11 device created by the user.
[out]phContextReturned xess context handle.
Returns
XeSS return status code.

◆ xessD3D11Execute()

XESS_API xess_result_t xessD3D11Execute ( xess_context_handle_t hContext,
const xess_d3d11_execute_params_t * pExecParams )

Record XeSS upscaling commands into the command list.

Parameters
hContextThe XeSS context handle.
pExecParamsExecution parameters.
Returns
XeSS return status code.

◆ xessD3D11GetInitParams()

XESS_API xess_result_t xessD3D11GetInitParams ( xess_context_handle_t hContext,
xess_d3d11_init_params_t * pInitParams )

Get XeSS D3D11 initialization parameters.

Note
This function will return XESS_RESULT_ERROR_UNINITIALIZED if xessD3D11Init has not been called.
Parameters
hContextThe XeSS context handle.
[out]pInitParamsReturned initialization parameters.
Returns
XeSS return status code.

◆ xessD3D11Init()

XESS_API xess_result_t xessD3D11Init ( xess_context_handle_t hContext,
const xess_d3d11_init_params_t * pInitParams )

Initialize XeSS D3D11. 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.

Parameters
hContextThe XeSS context handle.
pInitParamsInitialization parameters.
Returns
XeSS return status code.