diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-27 21:40:20 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-27 21:40:20 -0400 |
commit | 269263d88629c48027d71275dd778f7b01a569f1 (patch) | |
tree | 147f63e68d3941751b7bc4778a4bb745b8d88eba /engine/xe_model.hpp | |
parent | procedural chunk loading (diff) | |
download | minecraftvulkan-269263d88629c48027d71275dd778f7b01a569f1.tar.gz minecraftvulkan-269263d88629c48027d71275dd778f7b01a569f1.tar.bz2 minecraftvulkan-269263d88629c48027d71275dd778f7b01a569f1.zip |
destroy buffers on fence
Diffstat (limited to 'engine/xe_model.hpp')
-rw-r--r-- | engine/xe_model.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/xe_model.hpp b/engine/xe_model.hpp index b75576e..e331ed1 100644 --- a/engine/xe_model.hpp +++ b/engine/xe_model.hpp @@ -41,6 +41,8 @@ class Model { Model operator=(const Model &) = delete; static Model* createModelFromFile(const std::string &filepath); + static void deleteModel(Model* model); + static void submitDeleteQueue(); void bind(VkCommandBuffer commandBuffer); void draw(VkCommandBuffer commandBuffer); |