docs.unity.cn
    Show / Hide Table of Contents

    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

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use