UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FODSCMessageHandler Class Reference

#include <ODSCThread.h>

+ Inheritance diagram for FODSCMessageHandler:

Public Member Functions

 FODSCMessageHandler (EShaderPlatform InShaderPlatform, ERHIFeatureLevel::Type InFeatureLevel, EMaterialQualityLevel::Type InQualityLevel, ODSCRecompileCommand InRecompileCommandType)
 
 FODSCMessageHandler (const TArray< FString > &InMaterials, const FString &ShaderTypesToLoad, EShaderPlatform InShaderPlatform, ERHIFeatureLevel::Type InFeatureLevel, EMaterialQualityLevel::Type InQualityLevel, ODSCRecompileCommand InRecompileCommandType, const FShaderCompilerFlags &InExtraCompilerFlags=FShaderCompilerFlags())
 
virtual void FillPayload (FArchive &Payload) override
 
virtual void ProcessResponse (FArchive &Response) override
 
void AddPayload (const FODSCRequestPayload &Payload)
 
const TArray< FString > & GetMaterialsToLoad () const
 
const TArray< uint8 > & GetMeshMaterialMaps () const
 
const TArray< uint8 > & GetGlobalShaderMap () const
 
bool ReloadGlobalShaders () const
 
ODSCRecompileCommand GetRecompileCommandType () const
 
int32 NumPayloads () const
 
- Public Member Functions inherited from IPlatformFile::IFileServerMessageHandler
virtual ~IFileServerMessageHandler ()
 

Constructor & Destructor Documentation

◆ FODSCMessageHandler() [1/2]

FODSCMessageHandler::FODSCMessageHandler ( EShaderPlatform  InShaderPlatform,
ERHIFeatureLevel::Type  InFeatureLevel,
EMaterialQualityLevel::Type  InQualityLevel,
ODSCRecompileCommand  InRecompileCommandType 
)

◆ FODSCMessageHandler() [2/2]

FODSCMessageHandler::FODSCMessageHandler ( const TArray< FString > &  InMaterials,
const FString &  ShaderTypesToLoad,
EShaderPlatform  InShaderPlatform,
ERHIFeatureLevel::Type  InFeatureLevel,
EMaterialQualityLevel::Type  InQualityLevel,
ODSCRecompileCommand  InRecompileCommandType,
const FShaderCompilerFlags InExtraCompilerFlags = FShaderCompilerFlags() 
)

Member Function Documentation

◆ AddPayload()

void FODSCMessageHandler::AddPayload ( const FODSCRequestPayload Payload)

◆ FillPayload()

void FODSCMessageHandler::FillPayload ( FArchive Payload)
overridevirtual

Subclass fills out an archive to send to the server

Implements IPlatformFile::IFileServerMessageHandler.

◆ GetGlobalShaderMap()

const TArray< uint8 > & FODSCMessageHandler::GetGlobalShaderMap ( ) const

◆ GetMaterialsToLoad()

const TArray< FString > & FODSCMessageHandler::GetMaterialsToLoad ( ) const

◆ GetMeshMaterialMaps()

const TArray< uint8 > & FODSCMessageHandler::GetMeshMaterialMaps ( ) const

◆ GetRecompileCommandType()

ODSCRecompileCommand FODSCMessageHandler::GetRecompileCommandType ( ) const
inline

◆ NumPayloads()

int32 FODSCMessageHandler::NumPayloads ( ) const
inline

◆ ProcessResponse()

void FODSCMessageHandler::ProcessResponse ( FArchive Response)
overridevirtual

Subclass pulls data response from the server

Implements IPlatformFile::IFileServerMessageHandler.

◆ ReloadGlobalShaders()

bool FODSCMessageHandler::ReloadGlobalShaders ( ) const

The documentation for this class was generated from the following files: