mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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'.
20 lines
566 B
C
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
|