SetCapacity(int)
Sets the size in bytes of the internal buffer.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public void SetCapacity(int capacity)
Parameters
A new capacity in bytes.
Remarks
Does nothing if the new capacity is less than or equal to the current capacity.