Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Interfaces > API/Developer/TargetPlatform/Interfaces/IShaderFormat
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
| Include | #include "Interfaces/IShaderFormat.h" |
virtual bool CreateShaderArchive
&40;
FString const & LibraryName,
FName ShaderFormatAndShaderPlatformName,
const FString & WorkingDirectory,
const FString & OutputDir,
const FString & DebugOutputDir,
const FSerializedShaderArchive & SerializedShaders,
const TArray< TArray< uint8 >> & ShaderCode,
TArray< FString > &42; OutputFiles
&41; const
Remarks
Create a format specific archive for precompiled shader code. true if the archive was created
Parameters
| Name | Description |
|---|---|
| LibraryName | The name of this shader library. |
| Format | The format of shaders to cache. |
| WorkingDirectory | The working directory. |
| The | output directory for the archive. |
| The | directory for the debug data previously generated. |
| Optional | pointer to a TArray that on success will be filled with a list of the written file paths. |