FShaderCodeLibrary::CloseLibrary

Close a named library.

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 void CloseLibrary
(
    FString const & Name
)

Remarks

Close a named library. For cooking, after this point any AddShaderCode/AddShaderPipeline calls will be invalid until OpenLibrary is called again. At runtime this will release the library data and further requests for shaders from this library will fail.

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