기술 자료

Unity Engine

Unity Engine

NativeArrayOptions

Options for controlling how memory is cleared.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public enum NativeArrayOptions

Remarks

You can either clear memory on allocation or leave it uninitialized. NativeArrayOptions.ClearMemory is the default.

Fields

Value

Description

ClearMemoryClears NativeArray<T> memory on allocation.
UninitializedMemoryLeaves NativeArray<T> memory uninitialized.