![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Shader.h>
Public Member Functions | |
| FShaderTypeDependency () | |
| FShaderTypeDependency (FShaderType *InShaderType, EShaderPlatform ShaderPlatform) | |
| bool | operator== (const FShaderTypeDependency &Reference) const |
| bool | operator!= (const FShaderTypeDependency &Reference) const |
| RENDERCORE_API void | RefreshCachedSourceHash (EShaderPlatform ShaderPlatform) |
| LAYOUT_FIELD (FHashedName, ShaderTypeName) | |
| LAYOUT_FIELD (int32, PermutationId) | |
| LAYOUT_FIELD (FSHAHash, SourceHash) | |
Friends | |
| FArchive & | operator<< (FArchive &Ar, class FShaderTypeDependency &Ref) |
Encapsulates a dependency on a shader type and saved state from that shader type.
|
inline |
|
inline |
| FShaderTypeDependency::LAYOUT_FIELD | ( | FHashedName | , |
| ShaderTypeName | |||
| ) |
Shader type
| FShaderTypeDependency::LAYOUT_FIELD | ( | FSHAHash | , |
| SourceHash | |||
| ) |
Used to detect changes to the shader source files. This is always present, as this type is sometimes frozen.
| FShaderTypeDependency::LAYOUT_FIELD | ( | int32 | , |
| PermutationId | |||
| ) |
Unique permutation identifier of the global shader type.
|
inline |
|
inline |
| void FShaderTypeDependency::RefreshCachedSourceHash | ( | EShaderPlatform | ShaderPlatform | ) |
Call GetShaderFileHash to get the cached value for the filename's hash in the current process.
|
friend |