summaryrefslogtreecommitdiff
path: root/engine/xe_model.hpp
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-27 17:03:43 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-27 17:03:43 -0400
commit9b60b862e58905780bf47f69a34522fde046ebea (patch)
treebda8f9c998cdeec6ad1a5b4fb6e60800dbaca8ad /engine/xe_model.hpp
parentasync chunk meshing (diff)
downloadminecraftvulkan-9b60b862e58905780bf47f69a34522fde046ebea.tar.gz
minecraftvulkan-9b60b862e58905780bf47f69a34522fde046ebea.tar.bz2
minecraftvulkan-9b60b862e58905780bf47f69a34522fde046ebea.zip
procedural chunk loading
Diffstat (limited to 'engine/xe_model.hpp')
-rw-r--r--engine/xe_model.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/xe_model.hpp b/engine/xe_model.hpp
index 1886657..b75576e 100644
--- a/engine/xe_model.hpp
+++ b/engine/xe_model.hpp
@@ -34,13 +34,13 @@ class Model {
void loadModel(const std::string &filepath);
};
- Model(Device &device, const Model::Builder &builder);
+ Model(const Model::Builder &builder);
~Model();
Model(const Model &) = delete;
Model operator=(const Model &) = delete;
- static Model* createModelFromFile(Device &device, const std::string &filepath);
+ static Model* createModelFromFile(const std::string &filepath);
void bind(VkCommandBuffer commandBuffer);
void draw(VkCommandBuffer commandBuffer);