[Chore] (DiligentEngine): Rename the renderer with Diligent Engine.

This commit is contained in:
BZLZHH
2025-06-21 21:43:32 +08:00
parent ee29a397da
commit a1bdaed2f6
5 changed files with 24 additions and 5 deletions
@@ -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