Files
video-shader-toys/apps/LoopThroughWithOpenGLCompositing/runtime/RuntimeClock.h
Aiden 414ef62479
Some checks failed
CI / React UI Build (push) Successful in 11s
CI / Native Windows Build And Tests (push) Successful in 1m32s
CI / Windows Release Package (push) Failing after 2m7s
Added clock time
2026-05-06 12:38:23 +10:00

13 lines
240 B
C++

#pragma once
#include <ctime>
struct RuntimeClockSnapshot
{
double utcTimeSeconds = 0.0;
double utcOffsetSeconds = 0.0;
};
RuntimeClockSnapshot GetRuntimeClockSnapshot();
RuntimeClockSnapshot MakeRuntimeClockSnapshot(std::time_t now);