summaryrefslogtreecommitdiff
path: root/src/ecs.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-11-07 16:19:39 -0500
committerJonathan Bradley <jcb@pikum.xyz>2023-11-15 13:16:34 -0500
commit546e179d6095d07342b9b8f29f3b20eaaf3cf274 (patch)
tree2b362e7f1722563e5255c1532e88421db1c4ea1e /src/ecs.hpp
parentf18bcfbb4ff2bedae2f4565b823f822a31b1344c (diff)
Expose method to get CompGrBinds by GrBindsHandle.
This is useful because if you are working with an instance, the instance has a GrBindsHandle but not the EntityHandle that owns the CompGrBinds
Diffstat (limited to 'src/ecs.hpp')
-rw-r--r--src/ecs.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ecs.hpp b/src/ecs.hpp
index 480ba0c..28e52ad 100644
--- a/src/ecs.hpp
+++ b/src/ecs.hpp
@@ -29,6 +29,7 @@ Entity *ECS_GetEntities(uint64_t bucketIndex, uint64_t &itemCount);
CompGrBinds &ECS_CreateGrBinds(EntityHandle entHandle);
CompGrBinds *ECS_GetGrBinds(EntityHandle entHandle);
+CompGrBinds *ECS_GetGrBinds(GrBindsHandle grBindsHandle);
uint64_t ECS_GetGrBinds_BucketCount();
CompGrBinds *ECS_GetGrBinds(uint64_t bucketIndex, uint64_t &itemCount);