GetBufferFromEntity in IJobForEach

Im a bit stuck on this and wondering if someone can help me out. If I want to access a
IBufferElementData in a job how do I do that if the entily only contains a buffer component and not other component data. As far I i know i cant pass IJobForEach

Thanks in advance

IJobForEach_B<>

Thank you

I’m just going to add a similar question. In a main thread Foreach in a component system, what would be the order for getting entity + 2 buffers + 2 components. E,B,C,C is fine but E,B,B,C,C isn’t accepted and i can’t see the combination I’m looking for in the list of overloads.

I think 4 is the max

I pretty much never use ForEach so I’m a bit foggy on this, but from memory I don’t think there are overloads for 2+ buffers. Just use EntityManager.GetBuffer.