diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-26 19:21:58 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-26 19:21:58 -0400 |
| commit | 517dedc6a05c9048fa57eae7e7c907452b408069 (patch) | |
| tree | e2f61e1c54147a9f3375fb0ab8a6f7f71ade94cc /src/components.hpp | |
| parent | 7c1ba040d64a3b877f44971048bf79410c2666b0 (diff) | |
update instance buffer & handle camera on window resize
Diffstat (limited to 'src/components.hpp')
| -rw-r--r-- | src/components.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components.hpp b/src/components.hpp index 76dd7fc..70c36d5 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -54,6 +54,7 @@ struct CompGrBinds { uint32_t instanceCount = 0; VkDeviceSize instanceOffsets = 0; DynArray<InstPos> instances{0}; + bool isInstanceBufferNeedingUpdated = false; }; struct CompInstance { |
