summaryrefslogtreecommitdiff
path: root/model.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.hpp')
-rw-r--r--model.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/model.hpp b/model.hpp
index 7130024..03cdef4 100644
--- a/model.hpp
+++ b/model.hpp
@@ -27,13 +27,16 @@ struct Model : public Asset {
void destroy(Device* dev);
void update_transforms();
- void render(
+ void update_cbuffers(
Device* dev,
- Arena* a,
- Render_Pass& pass,
const m4f& transform,
const m4f& view_projection
);
+ void render(
+ Device* dev,
+ Arena* a,
+ Render_Pass& pass
+ );
};
struct Model_Loader : public Asset_Loader {