Pop
Removes and returns the last element of this append buffer.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
Pop<T>()
Removes and returns the last element of this append buffer.
public T Pop<T>() where T : unmanaged
Returns
Type | Description |
|---|---|
| T | The element removed from the end of this append buffer. |
Remarks
It is your responsibility to specify the correct type. Do not pop when the append buffer is empty.
Pop(void*, int)
Removes and copies the last element of this append buffer.
public void Pop(void* ptr, int structSize)
Parameters
Remarks
It is your responsibility to specify the correct . Do not pop when the append buffer is empty.
structSize