Skip to content

EntityFilterState Struct

Definition

Namespace: Brine2D.ECS.Query

Bundles the filter lists shared between EntityQuery and CachedEntityQueryBase so matching logic is written once. Lightweight struct wrapping existing list references; zero allocation.

C#
internal readonly struct EntityFilterState
Constructors
EntityFilterState\(List<Type>, List<Type>, List<Type>, List<string>, List<string>, List<string>\) Bundles the filter lists shared between EntityQuery and CachedEntityQueryBase so matching logic is written once. Lightweight struct wrapping existing list references; zero allocation.