ドキュメント

Unity Engine

Unity Engine

UninitializedMemory

Leaves NativeArray<T> memory uninitialized.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

UninitializedMemory = 0

Remarks

Uninitialized memory can improve performance, but means that the contents of the NativeArray elements are undefined. In performance sensitive code you might use NativeArrayOptions.Uninitialized if you want to write to the entire array right after creating it without reading any of the elements first.