-
I want to batch process objects with the same material and mesh. How should I do it? |
Beta Was this translation helpful? Give feedback.
Answered by
skypjack
Oct 31, 2024
Replies: 1 comment 3 replies
-
I guess you want to pass around all components of a given type as a packed array? Remember that EnTT storage is paged by default, you still have to provide a page at a time in case. Do you know it? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As in:
Gimme all the entities for which
foo
is equal to 3?No, EnTT doesn't support it out of the box unless you use something like the reactive storage and keep track of the entities of interest by checking a runtime value like this.
However, it smells of an XY-problem to me.