Options for controlling how memory is cleared.
You can either clear memory on allocation or leave it uninitialized. NativeArrayOptions.ClearMemory is the default.
UninitializedMemory | Leaves NativeArray<T0> memory uninitialized. |
ClearMemory | Clears NativeArray<T0> memory on allocation. |