Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Attribute · Ara

QueryAttribute

Turns a static void Run(ref A a, in B b, in Tick t) method into a chunk-batched system. ref component parameters are writes, in parameters reads; the read/write sets go to the scheduler, so non-conflicting systems run in parallel. Optional parameters: Entity, in Tick, ref Rng, ref Commands, and ResourceAttribute structs.

public sealed class QueryAttribute : Attribute

Properties

Order

public int Order { get; init; }

Ordering among systems whose accesses conflict (lower runs first; ties by name).

Name

public string Name { get; init; }

System name; defaults to the type name, or Type.Method when the method is not Run.