![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderCompileWorkerUtil.h>
Public Types | |
| enum | ECode : int32 { NotSet = -1 , Success , GeneralCrash , BadShaderFormatVersion , BadInputVersion , BadSingleJobHeader , BadPipelineJobHeader , CantDeleteInputFile , CantSaveOutputFile , NoTargetShaderFormatsFound , CantCompileForSpecificFormat , CrashInsidePlatformCompiler , BadInputFile , OutOfMemory } |
Static Public Member Functions | |
| static RENDERCORE_API void | Report (ECode Code, const FStringView &Info={}) |
| static RENDERCORE_API void | Reset () |
| static RENDERCORE_API ECode | Get () |
| static RENDERCORE_API const FString & | GetInfo () |
| static RENDERCORE_API bool | IsSet () |
|
static |
Returns the global SCW error code.
|
static |
Returns the global SCW error code information string. Empty string if not set.
|
static |
Returns true if the SCW global error code has been set. Equivalent to 'Get() != NotSet'.
|
static |
Sets the global SCW error code if it hasn't been set before. Call Reset first before setting a new value. Returns true on success, otherwise the error code has already been set.
|
static |
Resets the global SCW error code to NotSet.