Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
Include |
#include "DynamicRHI.h" |
virtual FRHIShaderLibraryRef RHICreateShaderLibrary
(
EShaderPlatform Platform,
FString const & FilePath,
FString const & Name
)
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.
Parameter |
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. |