You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use entityx to render stuff. To render efficiently, I need to be able to sort what I get from entities_with_components. For instance: sort by texture_component->filename. Is this possible?
The text was updated successfully, but these errors were encountered:
I assume you mean "can EntityX maintain components in sorted order", and the answer is no it can not. Your best bet is to sort the iterator returned by entities_with_components().
I would like to use entityx to render stuff. To render efficiently, I need to be able to sort what I get from entities_with_components. For instance: sort by texture_component->filename. Is this possible?
The text was updated successfully, but these errors were encountered: