Moved stuff around + start of graphics device support (dx12)

This commit is contained in:
2025-01-09 22:35:33 -05:00
parent 5b4b6f2c52
commit 915858c0d3
56 changed files with 207 additions and 93 deletions

View File

@@ -3,7 +3,9 @@
#include <Graphics/GraphicsConfig.h>
// Graphics Interface
namespace Juliet::Graphics
namespace Juliet
{
// Add functions to create windows, device, attach to the window etc...
} // namespace Juliet::Graphics
struct GraphicsDevice;
extern GraphicsDevice* CreateGraphicsDevice(GraphicsConfig config);
} // namespace Juliet

View File

@@ -2,13 +2,14 @@
namespace Juliet
{
enum class RendererType
{
DX12 = 0
};
enum class RendererType : uint8
{
Any = 0,
DX12 = 1,
};
struct GraphicsConfig
{
RendererType Renderer = RendererType::DX12;
};
}
struct GraphicsConfig
{
RendererType PreferredRenderer = RendererType::DX12;
};
} // namespace Juliet