![]() |
XeSS-SR SDK API Reference Guide 2.0.2
|
#include "xess.h"Go to the source code of this file.
Data Structures | |
| struct | _xess_dump_parameters_t |
| struct | _xess_profiled_frame_data_t |
| struct | _xess_profiling_data_t |
Macros | |
| #define | XESS_DEBUG_ENABLE_PROFILING (1U << 30) |
Typedefs | |
| typedef enum _xess_network_model_t | xess_network_model_t |
| XeSS network type. | |
| typedef enum _xess_dump_element_bits_t | xess_dump_element_bits_t |
| typedef uint32_t | xess_dump_elements_mask_t |
| typedef struct _xess_dump_parameters_t | xess_dump_parameters_t |
| typedef struct _xess_profiled_frame_data_t | xess_profiled_frame_data_t |
| typedef struct _xess_profiling_data_t | xess_profiling_data_t |
Enumerations | |
| enum | _xess_network_model_t { XESS_NETWORK_MODEL_KPSS = 0 , XESS_NETWORK_MODEL_SPLAT = 1 , XESS_NETWORK_MODEL_3 = 2 , XESS_NETWORK_MODEL_4 = 3 , XESS_NETWORK_MODEL_5 = 4 , XESS_NETWORK_MODEL_6 = 5 , XESS_NETWORK_MODEL_UNKNOWN = 0x7FFFFFFF } |
| XeSS network type. More... | |
| enum | _xess_dump_element_bits_t { XESS_DUMP_INPUT_COLOR = 0x01 , XESS_DUMP_INPUT_VELOCITY = 0x02 , XESS_DUMP_INPUT_DEPTH = 0x04 , XESS_DUMP_INPUT_EXPOSURE_SCALE = 0x08 , XESS_DUMP_INPUT_RESPONSIVE_PIXEL_MASK = 0x10 , XESS_DUMP_OUTPUT = 0x20 , XESS_DUMP_HISTORY = 0x40 , XESS_DUMP_EXECUTION_PARAMETERS = 0x80 , XESS_DUMP_ALL_INPUTS , XESS_DUMP_ALL = 0x7FFFFFFF } |
Functions | |
| XESS_API xess_result_t | xessSelectNetworkModel (xess_context_handle_t hContext, xess_network_model_t network) |
| Select network to be used by XeSS. | |
| XESS_API xess_result_t | xessStartDump (xess_context_handle_t hContext, const xess_dump_parameters_t *dump_parameters) |
| Dumps sequence of frames to the provided folder. | |
| XESS_API xess_result_t | xessGetProfilingData (xess_context_handle_t hContext, xess_profiling_data_t **pProfilingData) |
| Query XeSS model performance data for past executions. To enable performance collection, context must be initialized with XESS_DEBUG_ENABLE_PROFILING flag added to xess_d3d12_init_params_t::initFlags or xess_vk_init_params_t::initFlags. If profiling is enabled, user must poll for profiling data after executing one or more command lists, otherwise implementation will keep growing internal CPU buffers to accommodate all profiling data available. Due to async nature of execution on GPU, data may not be available after submitting command lists to device queue. It is advised to check any_profiling_data_in_flight flag in case all workloads has been submitted, but profiling data for some frames is still not available. Data pointed to by pProfilingData item(s) belongs to context instance and is valid until next call to xessD3D12GetProfilingData or xessGetProfilingData for owning context. | |
| #define XESS_DEBUG_ENABLE_PROFILING (1U << 30) |
Definition at line 26 of file xess_debug.h.
| typedef enum _xess_dump_element_bits_t xess_dump_element_bits_t |
| typedef uint32_t xess_dump_elements_mask_t |
Definition at line 59 of file xess_debug.h.
| typedef struct _xess_dump_parameters_t xess_dump_parameters_t |
| typedef enum _xess_network_model_t xess_network_model_t |
XeSS network type.
| typedef struct _xess_profiled_frame_data_t xess_profiled_frame_data_t |
| typedef struct _xess_profiling_data_t xess_profiling_data_t |
Definition at line 43 of file xess_debug.h.
XeSS network type.
| Enumerator | |
|---|---|
| XESS_NETWORK_MODEL_KPSS | |
| XESS_NETWORK_MODEL_SPLAT | |
| XESS_NETWORK_MODEL_3 | |
| XESS_NETWORK_MODEL_4 | |
| XESS_NETWORK_MODEL_5 | |
| XESS_NETWORK_MODEL_6 | |
| XESS_NETWORK_MODEL_UNKNOWN | |
Definition at line 32 of file xess_debug.h.