UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FIoStoreShaderCodeArchiveHeader Struct Reference

#include <ShaderCodeArchive.h>

Public Member Functions

uint64 GetShaderUncompressedSize (int ShaderIndex) const
 
uint64 GetAllocatedSize () const
 

Public Attributes

TArray< FSHAHashShaderMapHashes
 
TArray< FSHAHashShaderHashes
 
TArray< FIoChunkIdShaderGroupIoHashes
 
TArray< FIoStoreShaderMapEntryShaderMapEntries
 
TArray< FIoStoreShaderCodeEntryShaderEntries
 
TArray< FIoStoreShaderGroupEntryShaderGroupEntries
 
TArray< uint32ShaderIndices
 

Friends

RENDERCORE_API FArchiveoperator<< (FArchive &Ar, FIoStoreShaderCodeArchiveHeader &Ref)
 

Member Function Documentation

◆ GetAllocatedSize()

uint64 FIoStoreShaderCodeArchiveHeader::GetAllocatedSize ( ) const
inline

◆ GetShaderUncompressedSize()

uint64 FIoStoreShaderCodeArchiveHeader::GetShaderUncompressedSize ( int  ShaderIndex) const
inline

Friends And Related Symbol Documentation

◆ operator<<

RENDERCORE_API FArchive & operator<< ( FArchive Ar,
FIoStoreShaderCodeArchiveHeader Ref 
)
friend

Member Data Documentation

◆ ShaderEntries

TArray<FIoStoreShaderCodeEntry> FIoStoreShaderCodeArchiveHeader::ShaderEntries

An array of all shaders descriptors, deduplicated

◆ ShaderGroupEntries

TArray<FIoStoreShaderGroupEntry> FIoStoreShaderCodeArchiveHeader::ShaderGroupEntries

An array of shader group descriptors

◆ ShaderGroupIoHashes

TArray<FIoChunkId> FIoStoreShaderCodeArchiveHeader::ShaderGroupIoHashes

Chunk Ids (essentially hashes) of the shader groups - needed to be serialized as they are used for preloading.

◆ ShaderHashes

TArray<FSHAHash> FIoStoreShaderCodeArchiveHeader::ShaderHashes

Output hashes of all shaders in the library

◆ ShaderIndices

TArray<uint32> FIoStoreShaderCodeArchiveHeader::ShaderIndices

Flat array of shaders referenced by all shadermaps. Each shadermap has a range in this array, beginning of which is stored as ShaderIndicesOffset in the shadermap's descriptor (FIoStoreShaderMapEntry). This is also used by the shader groups.

◆ ShaderMapEntries

TArray<FIoStoreShaderMapEntry> FIoStoreShaderCodeArchiveHeader::ShaderMapEntries

An array of a shadermap descriptors. Each shadermap can reference an arbitrary number of shaders

◆ ShaderMapHashes

TArray<FSHAHash> FIoStoreShaderCodeArchiveHeader::ShaderMapHashes

Hashes of all shadermaps in the library


The documentation for this struct was generated from the following file: