打包通过
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user