Start converting D3D9 to D3D11

This commit is contained in:
2026-11-23 09:58:03 +01:00
parent 7aad3c6292
commit abb8da9cff
24 changed files with 1795 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include <Windows.h>
#include <chrono>
using namespace std;
typedef chrono::steady_clock CLOCK;
typedef chrono::duration<FLOAT> SECONDS;
typedef CLOCK::time_point TIMEPOINT;
class Time
{
public:
UINT init();
void update();
void deInit();
FLOAT getDeltaTime() const { return _deltaTime; }
private:
FLOAT _deltaTime = 0.0f;
TIMEPOINT _lastFrame = {};
};