Enqueue
Adds an element at the back of the queue.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Enqueue(T)
Adds an element at the back of the queue.
public void Enqueue(T value)
Parameters
Enqueue(T, int)
Adds an element at the back of the queue.
public void Enqueue(T value, int threadIndexOverride)
Parameters
The thread index which must be set by a field from a job struct with the NativeSetThreadIndexAttribute attribute.