完成动画在设备上播放和切换

This commit is contained in:
xsl
2025-11-01 14:56:03 +08:00
parent 263a061d27
commit 6495a27658
8 changed files with 92 additions and 76 deletions
+3 -1
View File
@@ -39,7 +39,7 @@ public:
void createRenderPass();
void recordCommandBuffer(VkCommandBuffer commandBuffer, uint32_t imageIndex, long long frameTime);
void createSyncObjects();
void drawFrame(long long frameTime);
virtual void drawFrame(long long frameTime);
virtual void render(VkCommandBuffer commandBuffer, long long frameTime);
virtual bool isInited() { return inited; }
@@ -89,4 +89,6 @@ protected:
void destroy_texture(Texture texture);
std::mutex mtx;
long long _lastDrawFrameTime;
std::mutex changeMotionMtx;
};