r5sdk/r5dev/geforce/reflex.h
Kawe Mazidjatari 688a76c358 Use correct types for frame numbering
Structure contains an NvU64 type for frame ID, use this type instead. Also no need to worry about overflowing it, as it would just 'wrap around'.
2023-09-13 17:42:47 +02:00

20 lines
566 B
C

#ifndef GFSDK_REFLEX_H
#define GFSDK_REFLEX_H
void GFX_MarkLowLatencyParametersOutOfDate(void);
bool GFX_HasPendingLowLatencyParameterUpdates(void);
NvU64 GFX_GetFrameNumber(void);
void GFX_IncrementFrameNumber(void);
void GFX_UpdateLowLatencyParameters(IUnknown* device, const bool useLowLatencyMode,
const bool useLowLatencyBoost, const bool useMarkersToOptimize,
const float maxFramesPerSecond);
void GFX_RunLowLatencyFrame(IUnknown* device);
void GFX_SetLatencyMarker(IUnknown* device,
const NV_LATENCY_MARKER_TYPE markerType);
#endif // GFSDK_REFLEX_H