hot reload setup

This commit is contained in:
Asuro
2025-02-09 15:22:45 +01:00
parent af22a2e87f
commit bb66dcebcf
7 changed files with 114 additions and 48 deletions

View File

@@ -1,6 +1,5 @@
#pragma once
#include <cstdint>
#include <bx/spscqueue.h>
struct SharedWindowData
{
@@ -16,7 +15,8 @@ struct FileChangeNotification
struct SharedDevData
{
bx::SpScUnboundedQueueT<FileChangeNotification>* ShaderChangeQueue;
uint32_t ChangedShaderCount = 0;
FileChangeNotification ChangedShaders[16];
};
struct GameData