ドキュメント

Unity Engine

Unity Engine

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

value

T
The value to be enqueued.

Enqueue(T, int)

Adds an element at the back of the queue.
public void Enqueue(T value, int threadIndexOverride)

Parameters

value

T
The value to be enqueued.

threadIndexOverride

The thread index which must be set by a field from a job struct with the NativeSetThreadIndexAttribute attribute.