Navigation
Unreal Engine C++ API Reference > Runtime > RHI > FDynamicRHI
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
Include | #include "DynamicRHI.h" |
virtual FRHIShaderLibraryRef RHICreateShaderLibrary
&40;
EShaderPlatform Platform,
FString const & FilePath,
FString const & Name
&41;
Remarks
Attempts to open a shader library for the given shader platform & name within the provided directory. The new library if one exists and can be constructed, otherwise nil.
Parameters
Name | Description |
---|---|
Platform | The shader platform for shaders withing the library. |
FilePath | The directory in which the library should exist. |
Name | The name of the library, i.e. "Global" or "Unreal" without shader-platform or file-extension qualification. |