You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lanlib/Scripts/Runtime/UpdateManager/Jobs/ReadOnlyTransformAccessAttr...

16 lines
587 B
C#

using System;
namespace LanLib.UpdateManager.Jobs
{
/// <summary>
/// Add this to a managed <see cref="TransformAccess"/>-enabled job struct type to specify that its transform access is read-only.
/// </summary>
/// <remarks>
/// Read-only transform jobs may be fully parallelized by Unity.
/// Read-write transform jobs, on the other hand, are only parallelized for objects in hierarchies with different root objects.
/// </remarks>
[AttributeUsage(AttributeTargets.Struct)]
public class ReadOnlyTransformAccessAttribute : Attribute
{
}
}