Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include | #include "ShaderCompiler.h" |
Syntax
struct FShaderRecompileData
Variables
| Type | Name | Description | |
|---|---|---|---|
| ODSCRecompileCommand | CommandType | What type of shaders to recompile. All, Changed, Global, or Material? | |
| ERHIFeatureLevel::Type | FeatureLevel | ||
| TArray< uint8 > * | GlobalShaderMap | Global shader map, returned to the caller. | |
| TArray< FString > | MaterialsToLoad | Materials to load. | |
| TArray< uint8 > * | MeshMaterialMaps | Mesh materials, returned to the caller. | |
| TArray< FString > * | ModifiedFiles | All filenames that have been changed during the shader compilation. | |
| FString | PlatformName | The platform name to compile for. | |
| EMaterialQualityLevel::Type | QualityLevel | ||
| EShaderPlatform | ShaderPlatform | Shader platform | |
| TArray< FODSCRequestPayload > | ShadersToRecompile | On-demand shader compiler payload. | |
| FString | ShaderTypesToLoad | The names of shader type file names to compile shaders for. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
| Recompile all the changed shaders for the current platform. | |||
| For recompiling just global shaders. |