UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PSOPrecache.cpp File Reference

Functions

 CSV_DECLARE_CATEGORY_EXTERN (PSOPrecache)
 
EPSOPrecacheMode GetPSOPrecacheMode ()
 
bool IsPSOShaderPreloadingEnabled ()
 
bool IsComponentPSOPrecachingEnabled ()
 
bool IsResourcePSOPrecachingEnabled ()
 
bool ShouldBoostPSOPrecachePriorityOnDraw ()
 
EPSOPrecacheProxyCreationStrategy GetPSOPrecacheProxyCreationStrategy ()
 
bool ProxyCreationWhenPSOReady ()
 
void BoostPrecachedPSORequestsOnDraw (const FPrimitiveSceneInfo *SceneInfo)
 
void AddMaterialInterfacePSOPrecacheParamsToList (const FMaterialInterfacePSOPrecacheParams &EntryToAdd, FMaterialInterfacePSOPrecacheParamsList &List)
 
FPSOPrecacheRequestResultArray RequestPrecachePSOs (EPSOPrecacheType PSOPrecacheType, const FPSOPrecacheDataArray &PSOInitializers)
 

Variables

int32 GPSOPrecacheComponents = 1
 
int32 GPSOPrecacheResources = 0
 
int32 GPSOProxyCreationWhenPSOReady = 1
 
int32 GPSOProxyCreationDelayStrategy = 0
 
int32 GPSOPrecacheMode = 0
 

Function Documentation

◆ AddMaterialInterfacePSOPrecacheParamsToList()

void AddMaterialInterfacePSOPrecacheParamsToList ( const FMaterialInterfacePSOPrecacheParams EntryToAdd,
FMaterialInterfacePSOPrecacheParamsList List 
)

◆ BoostPrecachedPSORequestsOnDraw()

void BoostPrecachedPSORequestsOnDraw ( const FPrimitiveSceneInfo SceneInfo)

◆ CSV_DECLARE_CATEGORY_EXTERN()

CSV_DECLARE_CATEGORY_EXTERN ( PSOPrecache  )

◆ GetPSOPrecacheMode()

EPSOPrecacheMode GetPSOPrecacheMode ( )

◆ GetPSOPrecacheProxyCreationStrategy()

EPSOPrecacheProxyCreationStrategy GetPSOPrecacheProxyCreationStrategy ( )

◆ IsComponentPSOPrecachingEnabled()

bool IsComponentPSOPrecachingEnabled ( )

Precaching PSOs for components?

◆ IsPSOShaderPreloadingEnabled()

bool IsPSOShaderPreloadingEnabled ( )

Dynamically preload shaders

◆ IsResourcePSOPrecachingEnabled()

bool IsResourcePSOPrecachingEnabled ( )

Precaching PSOs for resources?

◆ ProxyCreationWhenPSOReady()

bool ProxyCreationWhenPSOReady ( )

Delay component proxy creation when it's requested PSOs are still precaching

◆ RequestPrecachePSOs()

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

◆ ShouldBoostPSOPrecachePriorityOnDraw()

bool ShouldBoostPSOPrecachePriorityOnDraw ( )

Boost drawn PSO precache request priority

Variable Documentation

◆ GPSOPrecacheComponents

int32 GPSOPrecacheComponents = 1

◆ GPSOPrecacheMode

int32 GPSOPrecacheMode = 0

◆ GPSOPrecacheResources

int32 GPSOPrecacheResources = 0

◆ GPSOProxyCreationDelayStrategy

int32 GPSOProxyCreationDelayStrategy = 0

◆ GPSOProxyCreationWhenPSOReady

int32 GPSOProxyCreationWhenPSOReady = 1