ドキュメント

Unity Engine

Unity Engine

NativeSetThreadIndexAttribute

Inject a worker thread index into an int on the job struct.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前

Definition

[AttributeUsage(AttributeTargets.Field)]public sealed class NativeSetThreadIndexAttribute : Attribute, _Attribute

Remarks

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.
Additional Resources: JobsUtility.ThreadIndex

Inheritance

Inherited Members