![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Public Member Functions | |
| FMaterialPSOPrecacheCollectionTask (TStrongObjectPtr< UMaterialInterface > *InMaterialInterface, const FMaterialPSOPrecacheParams &InPrecacheParams, FGraphEventRef &InCollectionGraphEvent, uint32 InRequestLifecycleID) | |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| ~FMaterialPSOPrecacheCollectionTask () | |
| ENamedThreads::Type | GetDesiredThread () |
| FORCEINLINE TStatId | GetStatId () const |
Static Public Member Functions | |
| static ESubsequentsMode::Type | GetSubsequentsMode () |
Public Attributes | |
| TStrongObjectPtr< UMaterialInterface > * | MaterialInterface |
| FMaterialPSOPrecacheParams | PrecacheParams |
| FGraphEventRef | CollectionGraphEvent |
| uint32 | RequestLifecycleID |
Helper task used to offload the PSO collection from the GameThread. The shader decompression takes too long to run this on the GameThread and it isn't blocking anything crucial. The graph event used to create this task is extended with the PSO compilation tasks itself so the user can optionally wait or known when all PSOs are ready for rendering
|
inlineexplicit |
|
inline |
| void FMaterialPSOPrecacheCollectionTask::DoTask | ( | ENamedThreads::Type | CurrentThread, |
| const FGraphEventRef & | MyCompletionGraphEvent | ||
| ) |
|
inline |
|
inline |
|
inlinestatic |
| FGraphEventRef FMaterialPSOPrecacheCollectionTask::CollectionGraphEvent |
| TStrongObjectPtr<UMaterialInterface>* FMaterialPSOPrecacheCollectionTask::MaterialInterface |
| FMaterialPSOPrecacheParams FMaterialPSOPrecacheCollectionTask::PrecacheParams |
| uint32 FMaterialPSOPrecacheCollectionTask::RequestLifecycleID |