Add RenderDevice struct and driver accessor functions

This commit is contained in:
2025-03-15 18:01:57 +10:00
parent d91275c393
commit f979b782cc
4 changed files with 66 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include <nova/api.h>
#include <nova/render/render_api.h>
#include <nova/render/render_device.h>
#include <nova/types.h>
namespace Nova {
@@ -17,5 +18,8 @@ namespace Nova {
[[nodiscard]] virtual RenderAPI get_api() const = 0;
[[nodiscard]] virtual u32 get_api_version() const = 0;
[[nodiscard]] virtual u32 get_device_count() const = 0;
[[nodiscard]] virtual const RenderDevice& get_device(u32 index) const = 0;
};
} // namespace Nova