FShaderCodeLibrary::OpenLibrary

Open a named library. At runtime this will open the shader library with this name.

Choose your operating system:

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 OpenLibrary
(
    FString const & Name,
    FString const & Directory
)

Remarks

Open a named library.

At runtime this will open the shader library with this name.

Returns

true if successful

Parameters

Parameter

Description

Name

is a high level description of the library (usually a project name or "Global")

Directory

location of the .ushadercode file