feat(rendering): index incremental scene queries

Maintain packed render worksets as lifecycle deltas arrive and synchronize active animated statics without scanning the resident world. This keeps Slice F non-drawing while preparing exact spatial and feature queries for shadow comparison.

Release: 8,206 passed, 5 skipped.
This commit is contained in:
Erik 2026-07-24 22:12:26 +02:00
parent 58e7c2eb99
commit ff5d86175f
8 changed files with 745 additions and 16 deletions

View file

@ -334,6 +334,21 @@ internal sealed class RetailStaticAnimatingObjectScheduler : ILiveStaticPartFram
}
}
internal void CopyActiveDatStaticEntitiesTo(List<WorldEntity> destination)
{
ArgumentNullException.ThrowIfNull(destination);
destination.Clear();
foreach (Owner owner in _owners.Values)
{
if (owner.Entity.ServerGuid == 0
&& owner.Sequencer is not null
&& _isResident(owner.Entity))
{
destination.Add(owner.Entity);
}
}
}
public void Tick(float elapsedSeconds)
{
if (!float.IsFinite(elapsedSeconds)