summaryrefslogtreecommitdiff
path: root/src/components.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-10-31 16:28:12 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-11-03 15:03:20 -0400
commit5891af6843661a9d30c12c3ef0f9efeb534aee88 (patch)
tree5e1af54c08f6ff4baaefcd187fbec4d031de76c9 /src/components.hpp
parentcb26bbf9945b7b3badb088e1c3df06efdfc7fad1 (diff)
rebuild instance buffers as they become oversized
Diffstat (limited to 'src/components.hpp')
-rw-r--r--src/components.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components.hpp b/src/components.hpp
index 490e798..4d52e39 100644
--- a/src/components.hpp
+++ b/src/components.hpp
@@ -47,6 +47,7 @@ struct CompGrBinds {
uint32_t instanceFirstBinding = 0;
uint32_t instanceBindingCount = 0;
uint32_t instanceCounter = 0;
+ uint32_t instanceBufferMaxCount = 0;
VkDeviceSize instanceOffsets = 0;
};