mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 13:18:31 +09:00
[Chore] (DiligentEngine): Rename the renderer with Diligent Engine.
This commit is contained in:
@@ -13,7 +13,16 @@ namespace MG_GL::Getter {
|
||||
#elif BACKEND_TYPE == BACKEND_GLES
|
||||
return "OpenGL ES";
|
||||
#elif BACKEND_TYPE == BACKEND_DILIGENT
|
||||
return "Diligent";
|
||||
switch (MG_Diligent::DILIGENT_BACKEND_TYPE) {
|
||||
case MG_Constants::Backend::BACKEND_DILIGENT_VULKAN:
|
||||
return "DiligentEngine (Vulkan)";
|
||||
case MG_Constants::Backend::BACKEND_DILIGENT_METAL:
|
||||
return "DiligentEngine (Metal)";
|
||||
case MG_Constants::Backend::BACKEND_DILIGENT_OPENGL:
|
||||
return "DiligentEngine (OpenGL)";
|
||||
default:
|
||||
return "DiligentEngine (Unknown Backend)";
|
||||
}
|
||||
#else
|
||||
return "<Unknown Backend>";
|
||||
#endif
|
||||
@@ -27,7 +36,16 @@ namespace MG_GL::Getter {
|
||||
#elif BACKEND_TYPE == BACKEND_GLES
|
||||
return "MobileGlues";
|
||||
#elif BACKEND_TYPE == BACKEND_DILIGENT
|
||||
return "MobileGluDiligent";
|
||||
switch (MG_Diligent::DILIGENT_BACKEND_TYPE) {
|
||||
case MG_Constants::Backend::BACKEND_DILIGENT_VULKAN:
|
||||
return "MobileGlued-vk";
|
||||
case MG_Constants::Backend::BACKEND_DILIGENT_METAL:
|
||||
return "MobileGlued-mtl";
|
||||
case MG_Constants::Backend::BACKEND_DILIGENT_OPENGL:
|
||||
return "MobileGlued-gl";
|
||||
default:
|
||||
return "MobileGlued-unknown";
|
||||
}
|
||||
#else
|
||||
return "<Unknown MobileGL Version>";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user