Version: 2022.3
言語: 日本語

NativeSetThreadIndexAttribute

class in Unity.Collections.LowLevel.Unsafe

マニュアルに切り替える

説明

This attribute can inject a worker thread index into an int on the job struct. This is usually used in the implementation of atomic containers. The index is guaranteed to be unique to any other job that might be running in parallel.