![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "PSOPrecache.h"#include "Misc/App.h"#include "HAL/IConsoleManager.h"#include "ShaderCodeLibrary.h"#include "Materials/MaterialInterface.h"#include "PrimitiveSceneProxy.h"#include "PrimitiveSceneInfo.h"#include "PSOPrecacheValidation.h"Variables | |
| int32 | GPSOPrecacheComponents = 1 |
| int32 | GPSOPrecacheResources = 0 |
| int32 | GPSOProxyCreationWhenPSOReady = 1 |
| int32 | GPSOProxyCreationDelayStrategy = 0 |
| int32 | GPSOPrecacheMode = 0 |
| void AddMaterialInterfacePSOPrecacheParamsToList | ( | const FMaterialInterfacePSOPrecacheParams & | EntryToAdd, |
| FMaterialInterfacePSOPrecacheParamsList & | List | ||
| ) |
| void BoostPrecachedPSORequestsOnDraw | ( | const FPrimitiveSceneInfo * | SceneInfo | ) |
| CSV_DECLARE_CATEGORY_EXTERN | ( | PSOPrecache | ) |
| EPSOPrecacheMode GetPSOPrecacheMode | ( | ) |
| EPSOPrecacheProxyCreationStrategy GetPSOPrecacheProxyCreationStrategy | ( | ) |
| bool IsComponentPSOPrecachingEnabled | ( | ) |
Precaching PSOs for components?
| bool IsPSOShaderPreloadingEnabled | ( | ) |
Dynamically preload shaders
| bool IsResourcePSOPrecachingEnabled | ( | ) |
Precaching PSOs for resources?
| bool ProxyCreationWhenPSOReady | ( | ) |
Delay component proxy creation when it's requested PSOs are still precaching
| FPSOPrecacheRequestResultArray RequestPrecachePSOs | ( | EPSOPrecacheType | PSOPrecacheType, |
| const FPSOPrecacheDataArray & | PSOInitializers | ||
| ) |
Start the actual PSO precache tasks for all the initializers provided and return the request result array containing the graph event on which to wait for the PSOs to finish compiling
| bool ShouldBoostPSOPrecachePriorityOnDraw | ( | ) |
Boost drawn PSO precache request priority
| int32 GPSOPrecacheComponents = 1 |
| int32 GPSOPrecacheMode = 0 |
| int32 GPSOPrecacheResources = 0 |
| int32 GPSOProxyCreationDelayStrategy = 0 |
| int32 GPSOProxyCreationWhenPSOReady = 1 |