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

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
@@ -100,7 +100,7 @@ private:
VkPipelineLayout m_pipelineLayout = VK_NULL_HANDLE;
VkDescriptorSetLayout m_descriptorSetLayout = VK_NULL_HANDLE;
vector<VkDescriptorSet> m_descriptor_sets;
const int kMaxTexture = 30;
const uint32_t kMaxTexture = 30;
vector<Texture> m_texs;
vector<Texture> m_texs_ex;
@@ -141,6 +141,8 @@ public:
Motion _curMotion;
int _curTexIndex = 0;
void SetInitArg(const char* arg);
void drawFrame(long long frameTime)override;
};
#endif