Module |
|
Header |
/Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
Include |
#include "Interfaces/IShaderFormat.h" |
virtual bool CreateShaderArchive
(
FString const & LibraryName,
FName Format,
const FString & WorkingDirectory,
const FString & OutputDir,
const FString & DebugOutputDir,
const FSerializedShaderArchive & SerializedShaders,
const TArray< TArray< uint8 >> & ShaderCode,
TArray< FString > * OutputFiles
) const
Create a format specific archive for precompiled shader code.
true if the archive was created
Parameter |
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. |