Renderer: Split OpenGL and OpenGL ES in two RenderAPI enums

This commit is contained in:
SirLynix
2022-12-25 16:11:28 +01:00
parent fe69cc0d27
commit e4064997d8
9 changed files with 75 additions and 30 deletions

View File

@@ -127,13 +127,14 @@ namespace Nz
enum class RenderAPI
{
Direct3D, ///< Microsoft Render API, only works on MS platforms
Mantle, ///< AMD Render API, Vulkan predecessor, only works on AMD GPUs
Metal, ///< Apple Render API, only works on OS X platforms
OpenGL, ///< Khronos Render API, works on Web/Desktop/Mobile and some consoles
Vulkan, ///< New Khronos Render API, made to replace OpenGL, works on desktop (Windows/Linux) and mobile (Android), and Apple platform using MoltenVK
Direct3D, //< Microsoft Render API, only works on MS platforms
Mantle, //< AMD Render API, Vulkan predecessor, only works on AMD GPUs
Metal, //< Apple Render API, only works on OS X platforms
OpenGL, //< Khronos Render API, works on Desktop and some consoles
OpenGL_ES, //< Khronos Render API, works on Web, Mobile and some consoles
Vulkan, //< New Khronos Render API, made to replace OpenGL, works on desktop (Windows/Linux) and mobile (Android), and Apple platform using MoltenVK
Unknown, ///< RenderAPI not corresponding to an entry of the enum, or result of a failed query
Unknown, //< RenderAPI not corresponding to an entry of the enum, or result of a failed query
Max = Unknown
};