save code

This commit is contained in:
xsl
2025-10-26 00:13:08 +08:00
parent 41a659bd6d
commit b2da84f903
66 changed files with 24834 additions and 78 deletions
+2
View File
@@ -75,6 +75,7 @@ protected:
protected:
Texture loadTexture(std::string path, Texture& tex, bool srgb);
Texture loadTextureExample(std::string path, Texture& tex, bool srgb);
uint32_t findMemoryType(VkPhysicalDevice physicalDevice, uint32_t typeFilter,
VkMemoryPropertyFlags properties);
@@ -85,4 +86,5 @@ protected:
void transitionImageLayout(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout oldLayout, VkImageLayout newLayout);
void destroy_texture(Texture texture);
std::mutex mtx;
long long _lastDrawFrameTime;
};