GetShaderFileHash

Calculates a Hash for the given filename if it does not already exist in the Hash cache.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h

Include

#include "ShaderCore.h"

Source

/Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp

Syntax

const FSHAHash & GetShaderFileHash
(
    const TCHAR * VirtualFilePath,
    EShaderPlatform ShaderPlatform
)

Remarks

Calculates a Hash for the given filename if it does not already exist in the Hash cache. Calculates a Hash for the given filename and its includes if it does not already exist in the Hash cache.

Parameters

Parameter

Description

Filename

shader file to Hash

ShaderPlatform

shader platform to Hash

Filename

shader file to Hash

ShaderPlatform

shader platform to Hash

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