Moved stuff around + start of graphics device support (dx12)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user