FShaderJobCache

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h

Include

#include "ShaderCompiler.h"

Syntax

class FShaderJobCache

Functions

Name Description

Public function

void

 

Add

(
    const FJobInputHash& Hash,
    const FJobCachedOutput& Contents,
    int InitialHitCount
)

Adds a job output to the cache

Public function

FJobCachedOu...

 

Find

(
    const FJobInputHash& Hash
)

Looks for the job in the cache, returns null if not found

Public function

uint64

 

GetAllocatedMemory()

Calculates memory used by the cache

Public function Const

uint64

 

GetCurrentMemoryBudget()

Calculates current memory budget, in bytes

Public function

void

 

LogStats()

Logs out the statistics

Typedefs

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