Renderer: Split OpenGL and OpenGL ES in two RenderAPI enums
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user