Navigation
Unreal Engine C++ API Reference > Runtime > RenderCore
References
Module | RenderCore |
Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCompilerCore.h |
Include | #include "ShaderCompilerCore.h" |
Syntax
struct FShaderCompilerInput
Remarks
Struct that gathers all readonly inputs needed for the compilation of a single shader.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bCachePreprocessed | True if the cache key for this job should be based on preprocessed source. |
![]() |
bool | bCompilingForShaderPipeline | Shader pipeline information. |
![]() |
bool | bIncludeUsedOutputs | |
![]() |
bool | bIndependentPreprocessed | True if the backend for this job implements the independent preprocessing API. |
![]() |
bool | bSkipPreprocessedCache | Skips the preprocessor and instead loads the usf file directly. |
![]() |
FName | CompressionFormat | |
![]() |
FString | DebugDescription | Description of the configuration used when compiling. |
![]() |
FString | DebugExtension | |
![]() |
FString | DebugGroupName | Materialname or "Global" "for debugging and better error messages |
![]() |
EShaderDebugInfoFlags | DebugInfoFlags | Indicates which additional debug outputs should be written for this compile job. |
![]() |
FString | DumpDebugInfoPath | Only used if enabled by r.DumpShaderDebugInfo (platform/groupname) e.g. "" |
![]() |
FString | DumpDebugInfoRootPath | Dump debug path (up to platform) e.g. "D:/Project/Saved/ShaderDebugInfo/PCD3D_SM5". |
![]() |
FString | EntryPointName | |
![]() |
FShaderCompilerEnvironment | Environment | Compilation Environment. |
![]() |
FExtraShaderCompilerSettings | ExtraSettings | Additional compilation settings that can be filled by FMaterial::SetupExtraCompilationSettingsFMaterial::SetupExtraCompilationSettings is usually called by each (*)MaterialShaderType::BeginCompileShader() function |
![]() |
FBlake3Hash | Hash | Hash of this input (used as the key for the shader job cache) |
![]() |
FOodleDataCompression::ECompressor | OodleCompressor | Oodle-specific compression algorithm - used if CompressionFormat is set to NAME_Oodle. |
![]() |
FOodleDataCompression::ECompressionLevel | OodleLevel | Oodle-specific compression level - used if CompressionFormat is set to NAME_Oodle. |
![]() |
const FShaderParametersMetadata * | RootParametersStructure | The root of the shader parameter structures / uniform buffers bound to this shader to generate shader resource table from. |
![]() |
FName | ShaderFormat | |
![]() |
FString | ShaderName | |
![]() |
FName | ShaderPlatformName | |
![]() |
TRefCountPtr< FSharedShaderCompilerEnvironment > | SharedEnvironment | |
![]() |
FShaderTarget | Target | |
![]() |
TArray< FString > | UsedOutputs | |
![]() |
FString | VirtualSourceFilePath |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGS | Explicitly-defaulted copy/move ctors & assignment operators are needed temporarily due to deprecation of bGenerateDirectCompileFile field. | |
![]() |
FShaderCompilerInput
(
const FShaderCompilerInput& |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | DeserializeSharedInputs
(
FArchive& Ar, |
|
![]() ![]() |
bool | ||
![]() |
void | GatherSharedInputs
(
TMap< FString, FString >& ExternalIncludes, |
|
![]() ![]() |
FString | Generate human readable name for debugging | |
![]() ![]() |
FString | ||
![]() ![]() |
FStringView | ||
![]() ![]() |
bool | ||
![]() |
void | SerializeSharedInputs
(
FArchive& Ar, |
|
![]() ![]() |
bool |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FShaderCompilerInput & | ||
![]() |
FShaderCompilerInput & | operator=
(
const FShaderCompilerInput& |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bGenerateDirectCompileFile | Use DebugInfoFlags field (EDebugInfoFlags::DirectCompileCommandLine) |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CanCompileWithLegacyFxc doesn't have enough information to correctly flag the input as requiring FXC. Please use internal shader format code instead. |