FSerializedShaderArchive

Portion of shader code archive that's serialize to disk.

Windows
MacOS
Linux

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

Constructors

Name Description

Public function

FSerializedShaderArchive()

Functions

Name Description

Public function Const

void

 

DecompressShader

(
    int32 Index,
    const TArray< TArray< uint8 >>& Sh...,
    TArray< uint8 >& OutDecompressedSh...
)

Public function

void

 

Empty()

Public function

void

 

Finalize()

Public function

bool

 

FindOrAddShader

(
    const FSHAHash& Hash,
    int32& OutIndex
)

Public function

bool

 

FindOrAddShaderMap

(
    const FSHAHash& Hash,
    int32& OutIndex
)

Public function Const

int32

 

FindShader

(
    const FSHAHash& Hash
)

Public function Const

int32

 

FindShaderMap

(
    const FSHAHash& Hash
)

Public function Const

int32

 

FindShaderMapWithKey

(
    const FSHAHash& Hash,
    uint32 Key
)

Public function Const

int32

 

FindShaderWithKey

(
    const FSHAHash& Hash,
    uint32 Key
)

Public function Const

uint32

 

GetAllocatedSize()

Public function Const

int32

 

GetNumShaderMaps()

Public function Const

int32

 

GetNumShaders()

Public function

void

 

Serialize

(
    FArchive& Ar
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss