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?
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?