Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCodeArchive.h |
| Include | #include "ShaderCodeArchive.h" |
Syntax
class FSerializedShaderArchive
Remarks
Portion of shader code archive that's serialize to disk.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FFileCachePreloadEntry > | PreloadEntries | An array of entries for the bytes of shadercode that need to be preloaded for a shadermap. | |
| TMap< FSHAHash, FShaderMapAssetPaths > | ShaderCodeToAssets | Mapping from shadermap hashes to an array of asset names - this is used for on-disk storage as it is shorter. | |
| TArray< FShaderCodeEntry > | ShaderEntries | An array of all shaders descriptors, deduplicated | |
| TArray< FSHAHash > | ShaderHashes | Output hashes of all shaders in the library | |
| FHashTable | ShaderHashTable | ||
| TArray< uint32 > | ShaderIndices | Flat array of shaders referenced by all shadermaps. | |
| TArray< FShaderMapEntry > | ShaderMapEntries | An array of a shadermap descriptors. Each shadermap can reference an arbitrary number of shaders | |
| TArray< FSHAHash > | ShaderMapHashes | Hashes of all shadermaps in the library | |
| FHashTable | ShaderMapHashTable |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CollectStatsAndDebugInfo
(
FDebugStats& OutDebugStats, |
||
| void | CreateAsChunkFrom
(
const FSerializedShaderArchive& Parent, |
||
| void | DecompressShader
(
int32 Index, |
||
| void | DumpContentsInPlaintext
(
FString& OutText |
||
| void | Empty () |
||
| void | |||
| void | Finalize () |
||
| bool | FindOrAddShader
(
const FSHAHash& Hash, |
||
| bool | FindOrAddShaderMap
(
const FSHAHash& Hash, |
||
| int32 | FindShader
(
const FSHAHash& Hash |
||
| int32 | FindShaderMap
(
const FSHAHash& Hash |
||
| int32 | FindShaderMapWithKey
(
const FSHAHash& Hash, |
||
| int32 | FindShaderWithKey
(
const FSHAHash& Hash, |
||
| int64 | |||
| int32 | |||
| int32 | |||
| bool | IsEmpty () |
||
| bool | LoadAssetInfo
(
const FString& Filename |
||
| void | |||
| void | SaveAssetInfo
(
FArchive& Ar |
||
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDebugStats | |||
| FExtendedDebugStats |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAssetInfoVersion |