Renderer: Improve code

This commit is contained in:
Jérôme Leclercq
2021-05-25 15:37:27 +02:00
parent 001c9a6a61
commit 59cfc74ab4
3 changed files with 50 additions and 43 deletions

View File

@@ -114,6 +114,8 @@ namespace Nz
Max = Unknown
};
constexpr std::size_t RenderAPICount = static_cast<std::size_t>(RenderAPI::Max) + 1;
enum class RenderDeviceType
{
Integrated, ///< Hardware-accelerated chipset integrated to a CPU (ex: Intel Graphics HD 4000)