Files
sbox-public/engine/Sandbox.Engine/Systems/Render/Shadows
Lorenz Junglas ff9257c1af Reduce allocation pressure in shadow mapper hot path. (#4502)
* Reduce allocation pressure in shadow mapper hot path.

Gets rid of a Bunch of array, IEnumerable and LINQ allocations.
It's only tiny bit more verbose

* Avoid string allocation every frame

* FindOrCreateProjectedCubeShadowMap: avoid allocations & frustum/matrix math

* AddShadowView: avoid CFmtStr in hot path
2026-04-14 12:57:02 +02:00
..