docs.unity.cn
    Show / Hide Table of Contents

    Struct LayoutUtility

    Low-level utility functions for AOS->SOA (scatter) and SOA->AOS (gather) conversions.

    Namespace: Unity.Entities
    Syntax
    public struct LayoutUtility

    Methods

    Name Description
    GatherChunkedSOA8(NativeArray<SOAFieldInfo>, Int32, Byte*, Void*, Int32)
    GatherFullSOA(NativeArray<SOAFieldInfo>, Byte*, Void*, Int32, Int32)

    Gather AOS data from fully parallel arrays of fields.

    ScatterChunkedSOA8(NativeArray<SOAFieldInfo>, Int32, Byte*, Void*, Int32)
    ScatterFullSOA(NativeArray<SOAFieldInfo>, Byte*, Void*, Int32, Int32)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use