打包通过

This commit is contained in:
xsl
2025-09-29 22:53:48 +08:00
parent 55b9c00292
commit 13d3372fc4
2 changed files with 109 additions and 332 deletions
@@ -50,10 +50,18 @@ public:
};
Texture texture = { 0 };
Texture tex_demo1 = { 0 };
Texture tex_demo2 = { 0 };
Texture tex_demo3 = { 0 };
Texture tex_demo4 = { 0 };
Texture texture_point = { 0 };
Texture texture_point_line = { 0 };
Texture cam_text = { 0 };
std::string cur_texture = "texture";
// 更新纹理的方法
void update_texture(Texture& new_texture);
std::unique_ptr<vkb::core::BufferC> vertex_buffer;
std::unique_ptr<vkb::core::BufferC> index_buffer;
uint32_t index_count;
@@ -133,7 +141,6 @@ public:
TextureLoading();
~TextureLoading();
virtual void request_gpu_features(vkb::PhysicalDevice& gpu) override;
void load_texture();
void destroy_texture(Texture texture);
void build_command_buffers() override;