Skip to content

PhysicsLayerRegistry.Freeze() Method

Definition

Namespace: Brine2D.Physics

Freezes the registry. After this call Register(string, int) throws and all lookups switch to a lock-free frozen dictionary for maximum read performance.

public void Freeze();