FShaderCodeLibrary::AddShaderCode

At cook time, add shader code to collection.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "ShaderCodeLibrary.h"

Source

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

Syntax

static bool AddShaderCode
(
    EShaderPlatform ShaderPlatform,
    const FShaderMapResourceCode * Code
)

Remarks

At cook time, add shader code to collection.

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