2023-09-12 00:08:46 +02:00
|
|
|
#ifndef GFSDK_REFLEX_H
|
|
|
|
#define GFSDK_REFLEX_H
|
|
|
|
|
2023-12-20 22:21:31 +01:00
|
|
|
void GFX_EnableLowLatencySDK(const bool enable);
|
|
|
|
bool GFX_IsLowLatencySDKEnabled(void);
|
|
|
|
|
2023-09-12 17:44:24 +02:00
|
|
|
void GFX_MarkLowLatencyParametersOutOfDate(void);
|
|
|
|
bool GFX_HasPendingLowLatencyParameterUpdates(void);
|
|
|
|
|
|
|
|
void GFX_UpdateLowLatencyParameters(IUnknown* device, const bool useLowLatencyMode,
|
2023-09-12 00:19:47 +02:00
|
|
|
const bool useLowLatencyBoost, const bool useMarkersToOptimize,
|
|
|
|
const float maxFramesPerSecond);
|
2023-09-12 00:08:46 +02:00
|
|
|
|
2023-09-12 17:44:24 +02:00
|
|
|
void GFX_RunLowLatencyFrame(IUnknown* device);
|
|
|
|
|
2023-09-12 11:06:16 +02:00
|
|
|
void GFX_SetLatencyMarker(IUnknown* device,
|
2023-12-25 19:23:01 +01:00
|
|
|
const NV_LATENCY_MARKER_TYPE markerType, const NvU64 frameID);
|
2023-09-12 11:06:16 +02:00
|
|
|
|
2023-09-12 00:08:46 +02:00
|
|
|
#endif // GFSDK_REFLEX_H
|