SetCapacity(int)
Sets the size in bytes of the internal buffer.
Read time 1 minuteLast updated 14 days ago
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.