完成动画在设备上播放和切换
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user