Skip to content
Discussion options

You must be logged in to vote

edit, I found out it is intended behavior and get correct index+versions result by printing use: void DebugEntity(entt::entity e) { uint32_t raw = static_cast<uint32_t>(e); uint32_t index = raw & 0xFFFFF; uint32_t version = raw >> 20; ImGui::Text("Entity Index: %d | Version: %d | Raw: %d", index, version, raw); }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SoulErasers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question open question discussion it sounds interesting, let's discuss it
1 participant