facepunch commits
Ian Henderson
2 Days Ago
rust_reboot
/main/allocation_reductions
#133814
Dont allocate new RenderTextures every frame in PsotProcessLayer.RenderScale() Lets use RenderTexture.GetTemporary instead Savings in render loop (roughly): - AsyncTextureLoad.Texture (.4 ms) - Texture2D.LoadRawTextureData (.1 ms)
thumb_up
0
thumb_down
0