This commit is contained in:
Asuro
2025-02-09 13:47:20 +01:00
parent df752065af
commit af22a2e87f
4 changed files with 111 additions and 45 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <cstdint>
#include <bx/spscqueue.h>
struct SharedWindowData
{
@@ -8,6 +9,16 @@ struct SharedWindowData
int32_t WindowHeight = 1080;
};
struct FileChangeNotification
{
wchar_t FileName[128]{0};
};
struct SharedDevData
{
bx::SpScUnboundedQueueT<FileChangeNotification>* ShaderChangeQueue;
};
struct GameData
{
void* PermanentStorage = nullptr;
@@ -16,6 +27,7 @@ struct GameData
struct SharedData
{
SharedDevData Dev;
SharedWindowData Window;
GameData Game;
};