Method GatherFullSOA
GatherFullSOA(NativeArray<SOAFieldInfo>, Byte*, Void*, Int32, Int32)
Gather AOS data from fully parallel arrays of fields.
Declaration
public static void GatherFullSOA(NativeArray<SOAFieldInfo> fields, byte *sourceBaseAddress, void *target, int sourceIndex, int sourceArraySize)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<SOAFieldInfo> | fields | Struct type descriptor |
Byte* | sourceBaseAddress | Pointer to first byte of source SOA array |
Void* | target | Pointer to target AOS struct instance to be gathered into |
Int32 | sourceIndex | The index of the SOA element to be gathered |
Int32 | sourceArraySize | The number of elements in the SOA data |