Initial Commit: MobileGL

Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
BZLZHH
2025-03-15 19:30:03 +08:00
commit e9d5caab2a
118 changed files with 90319 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
//
// Created by BZLZHH on 2025/3/15.
//
#include "BackendInfo.h"
namespace MG_GL::Getter {
const std::string GetBackendName() {
#if BACKEND_TYPE == BACKEND_VULKAN
return "Vulkan";
#elif BACKEND_TYPE == BACKEND_VULKAN
return "Metal";
#elif BACKEND_TYPE == BACKEND_VULKAN
return "OpenGL ES";
#else
return "<Unknown Backend>";
#endif
}
}