UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPSOPrecacheData Struct Reference

#include <PSOPrecache.h>

Public Types

enum class  EType : uint8 { Graphics , Compute }
 

Public Member Functions

 FPSOPrecacheData ()
 
void SetComputeShader (const TShaderRef< FShader > &InComputeShader)
 

Public Attributes

EType Type
 
bool bRequired
 
union { 
 
   FGraphicsPipelineStateInitializer   GraphicsPSOInitializer 
 
   FRHIComputeShader *   ComputeShader 
 
};  
 
FShaderPreloadData ShaderPreloadData
 

Detailed Description

Wrapper class around the initializer to collect some extra validation data during PSO collection on the different collectors

Member Enumeration Documentation

◆ EType

Enumerator
Graphics 
Compute 

Constructor & Destructor Documentation

◆ FPSOPrecacheData()

FPSOPrecacheData::FPSOPrecacheData ( )
inline

Member Function Documentation

◆ SetComputeShader()

void FPSOPrecacheData::SetComputeShader ( const TShaderRef< FShader > &  InComputeShader)
inline

Member Data Documentation

◆ [union]

union { ... } FPSOPrecacheData

◆ bRequired

bool FPSOPrecacheData::bRequired

◆ ComputeShader

FRHIComputeShader* FPSOPrecacheData::ComputeShader

◆ GraphicsPSOInitializer

FGraphicsPipelineStateInitializer FPSOPrecacheData::GraphicsPSOInitializer

◆ ShaderPreloadData

FShaderPreloadData FPSOPrecacheData::ShaderPreloadData

◆ Type

EType FPSOPrecacheData::Type

The documentation for this struct was generated from the following file: