Replies: 1 comment 10 replies
-
|
You can use custom pools here. That is, you can replace the storage part of a pool on a per-type basis. It should solve your problem, am I wrong? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is a preliminary question, and not something that's fully fleshed out.
Anyway, I have a situation where I want to use SIMD on some of the data stored in EnTT, which requires the data be aligned to a specific alignment size. Currently, I'm copying that data out of EnTT, and into a manually allocated buffer, doing my algorithm, and then copying the data back into EnTT.
I'm curious if EnTT has pre-existing support for indicating data alignment, or just providing a custom allocator, so that I (might) skip some of that data copying.
A related, but not exactly the same, situation is that I may want to communicate some data that is stored in EnTT to a GPU as a single buffer. Are there any facilities that EnTT offers that I should use to do that?
Beta Was this translation helpful? Give feedback.
All reactions