Property m_ThreadIndex
m_ThreadIndex
Returns the index of the current thread.
Declaration
public int m_ThreadIndex { get; }
Property Value
Type | Description |
---|---|
int | The index of the current thread. |
Remarks
In a job, each thread gets its own copy of the ParallelWriter struct, and the job system assigns each copy the index of its thread.