docs.unity.cn
    Show / Hide Table of Contents

    Field DefaultBufferCapacityNumerator

    BufferCapacity is by default calculated as DefaultBufferCapacityNumerator / sizeof(BufferElementDataType) thus for a 1 byte component, the maximum number of elements possible to be stored in chunk memory before the buffer is allocated separately from chunk data, is DefaultBufferCapacityNumerator elements. For a 2 byte sized component, (DefaultBufferCapacityNumerator / 2) elements can be stored, etc...

    Namespace: Unity.Entities
    Syntax
    public const int DefaultBufferCapacityNumerator = 128
    Returns
    Type Description
    Int32
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use