summaryrefslogtreecommitdiff
path: root/src/components.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-09-05 16:44:55 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-06 17:24:27 -0400
commitf3f2502d40bc4405be891de97ea7c081c760fd9b (patch)
tree48e78bfd01cabf72b0696064cd6a3359e2c3b10c /src/components.hpp
parent209ea9292599b294fe782ba43a4f3418849a65a3 (diff)
first pass removing entities
Diffstat (limited to 'src/components.hpp')
-rw-r--r--src/components.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components.hpp b/src/components.hpp
index 7f3c0bb..4ea4db2 100644
--- a/src/components.hpp
+++ b/src/components.hpp
@@ -34,6 +34,7 @@ struct InstPos {
};
struct CompGrBinds {
+ EntityHandle entHandle = EntityHandle_MAX;
GrBindsHandle grBindsHandle = GrBindsHandle_MAX;
VkDeviceMemory deviceMemory = VK_NULL_HANDLE;
VkBuffer vertexBuffer = VK_NULL_HANDLE;
@@ -56,6 +57,7 @@ struct CompGrBinds {
};
struct CompInstance {
+ EntityHandle entHandle = EntityHandle_MAX;
GrBindsHandle grBindsHandle = GrBindsHandle_MAX;
InstanceHandle instanceHandle = InstanceHandle_MAX;
uint64_t index = ECS_UNSET_VAL;