编写完顶点渲染程序,先保存一下

This commit is contained in:
xsl
2025-10-19 19:49:27 +08:00
parent 572c53c0f4
commit 3c63027bf5
32 changed files with 2714 additions and 6225 deletions
+8 -8
View File
@@ -13,14 +13,14 @@ void VK_CHECK(VkResult ret)
assert(ret == VK_SUCCESS);
}
std::string AppBase::getPath(const std::string path)
{
#ifdef _WIN32
std::string android_path = "app/src/main/assets/" + path;
return android_path;
#endif
return path;
}
//std::string AppBase::getPath(const std::string path)
//{
//#ifdef _WIN32
// std::string android_path = "app/src/main/assets/" + path;
// return android_path;
//#endif
// return path;
//}
std::vector<char> AppBase::readFile(const std::string& path)
{