Files
UnrealEngineUWP/Engine/Source/Runtime/Landscape
kenzo terelst 695f8db3f1 PSO Precache: Per component precache requests
Component precache all possible used PSOs which can be needed to draw the component. PSO precaching needs the material, vertex factory type and a set of parameters (FPSOPrecacheParams).
PSO compilation can take a long time so shouldn't be done right before drawing the object because this can lead to stalls on first usage of that PSO.

PSO precaching is called from PostLoad on the component because then all required data is available. The actual PSO precaching will happen async on a background thread

#jira UE-139584
#rb Jason.Nadro
#preflight 632987b0a236a029debcdf73

[CL 22090855 by kenzo terelst in ue5-main branch]
2022-09-20 08:10:42 -04:00
..
2022-09-13 15:01:53 -04:00