mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Sync Frame ID between main thread and render thread, this changes makes the integration PASS the reflex test utility.
20 lines
606 B
C
20 lines
606 B
C
#ifndef GFSDK_REFLEX_H
|
|
#define GFSDK_REFLEX_H
|
|
|
|
void GFX_EnableLowLatencySDK(const bool enable);
|
|
bool GFX_IsLowLatencySDKEnabled(void);
|
|
|
|
void GFX_MarkLowLatencyParametersOutOfDate(void);
|
|
bool GFX_HasPendingLowLatencyParameterUpdates(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, const NvU64 frameID);
|
|
|
|
#endif // GFSDK_REFLEX_H
|