Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FShaderRecompileData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
Syntax
struct FShaderRecompileData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | ShaderCompiler.h | ||
| Recompile all the changed shaders for the current platform. | ShaderCompiler.h | ||
FShaderRecompileData
(
const FString& InPlatformName, |
For recompiling just global shaders. | ShaderCompiler.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CommandType | ODSCRecompileCommand | What type of shaders to recompile. All, Changed, Global, or Material? | ShaderCompiler.h | |
| ExtraCompilerFlags | FShaderCompilerFlags | Additional compiler flags for debugging, e.g. for ODSC shader requests to skip optimizations for individual shaders or enable bindless during development. | ShaderCompiler.h | |
| FeatureLevel | ERHIFeatureLevel::Type | ShaderCompiler.h | ||
| GlobalShaderMap | TArray< uint8 > * | Global shader map, returned to the caller. | ShaderCompiler.h | |
| LoadedMaterialsToRecompile | TArray< TStrongObjectPtr< UMaterialInterface > > * | Optional Array of the loaded materials | ShaderCompiler.h | |
| MaterialsToLoad | TArray< FString > | Materials to load. | ShaderCompiler.h | |
| MeshMaterialMaps | TArray< uint8 > * | Mesh materials, returned to the caller. | ShaderCompiler.h | |
| ModifiedFiles | TArray< FString > * | All filenames that have been changed during the shader compilation. | ShaderCompiler.h | |
| ODSCCustomLoadMaterial | TFunction< UMaterialInterface *(const FString &)> | ShaderCompiler.h | ||
| PlatformName | FString | The platform name to compile for. | ShaderCompiler.h | |
| QualityLevel | EMaterialQualityLevel::Type | ShaderCompiler.h | ||
| ShaderPlatform | EShaderPlatform | Shader platform | ShaderCompiler.h | |
| ShadersToRecompile | TArray< FODSCRequestPayload > | On-demand shader compiler payload. | ShaderCompiler.h | |
| ShaderTypesToLoad | FString | The names of shader type file names to compile shaders for. | ShaderCompiler.h |