Navigation
Unreal Engine C++ API Reference > 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 | |
---|---|---|---|
![]() |
TArrayType< 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. |
![]() |
TArrayType< FShaderCodeEntry > | ShaderEntries | An array of all shaders descriptors, deduplicated |
![]() |
TArrayType< FSHAHash > | ShaderHashes | Output hashes of all shaders in the library |
![]() |
FHashTable | ShaderHashTable | |
![]() |
TArrayType< uint32 > | ShaderIndices | Flat array of shaders referenced by all shadermaps. |
![]() |
TArrayType< FShaderMapEntry > | ShaderMapEntries | An array of a shadermap descriptors. Each shadermap can reference an arbitrary number of shaders |
![]() |
TArrayType< 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 | ||
![]() ![]() |
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 | ||
![]() ![]() |
const TArrayView< const FFileCachePreloadEntry > | ||
![]() ![]() |
const TArrayView< const FShaderCodeEntry > | ||
![]() ![]() |
const TArrayView< const FSHAHash > | ||
![]() ![]() |
const TArrayView< const uint32 > | ||
![]() ![]() |
const TArrayView< const FShaderMapEntry > | ||
![]() ![]() |
const TArrayView< const FSHAHash > | ||
![]() ![]() |
bool | IsEmpty () |
|
![]() |
bool | LoadAssetInfo
(
const FString& Filename |
|
![]() |
bool | LoadAssetInfo
(
FArchive* Ar |
|
![]() |
void | ||
![]() |
void | SaveAssetInfo
(
FArchive& Ar |
|
![]() |
void |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FDebugStats | ||
![]() |
FExtendedDebugStats |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EAssetInfoVersion |
Typedefs
Name | Description |
---|---|
TArrayType |