Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/IShaderFormat
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CreateShaderArchive
(
FString const& LibraryName, |
Interfaces/IShaderFormat.h | ||
virtual bool CreateShaderArchive
(
FString const& LibraryName, |
Create a format specific archive for precompiled shader code. | Interfaces/IShaderFormat.h |
CreateShaderArchive(FString const &, FName, const FString &, const FString &, const FString &, const FSerializedShaderArchive &, const TArray< TArray< uint8 > > &, TArray< FString > *)
| Name | CreateShaderArchive |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
| Include Path | #include "Interfaces/IShaderFormat.h" |
virtual bool CreateShaderArchive
(
FString const & LibraryName,
FName ShaderFormatAndShaderPlatformName,
const FString & WorkingDirectory,
const FString & OutputDir,
const FString & DebugOutputDir,
const FSerializedShaderArchive & SerializedShaders,
const TArray < TArray < uint8 > > & ShaderCode,
TArray < FString > * OutputFiles
) const
CreateShaderArchive(FString const &, FName, const FString &, const FString &, const FString &, const FSerializedShaderArchive &, const TArray< FSharedBuffer > &, TArray< FString > *)
Description
Create a format specific archive for precompiled shader code.
| Name | CreateShaderArchive |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
| Include Path | #include "Interfaces/IShaderFormat.h" |
virtual bool CreateShaderArchive
(
FString const & LibraryName,
FName ShaderFormatAndShaderPlatformName,
const FString & WorkingDirectory,
const FString & OutputDir,
const FString & DebugOutputDir,
const FSerializedShaderArchive & SerializedShaders,
const TArray < FSharedBuffer > & ShaderCode,
TArray < FString > * OutputFiles
) const
true if the archive was created
Parameters
| Name | Remarks |
|---|---|
| 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. |