Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h |
Include |
#include "ShaderCodeLibrary.h" |
struct FShaderLibraryCooker
Name | Description | ||
---|---|---|---|
|
AddShaderCode ( |
At cook time, add shader code to collection. |
|
|
AddShaderStableKeyValue ( |
At cook time, add the human readable key value information. |
|
|
BeginCookingLibrary ( |
Opens a named library for cooking and sets it as the default. |
|
|
CleanDirectories |
Clean the cook directories. |
|
|
CookShaderFormats ( |
Specify the shader formats to cook and which ones needs stable keys. Provide an array of FShaderFormatDescriptors. |
|
|
CreatePatchLibrary |
Create a smaller 'patch' library that only contains data from 'NewMetaDataDir' not contained in any of 'OldMetaDataDirs'. |
|
|
DumpShaderCodeStats() |
Dump collected stats for each shader platform. |
|
|
EndCookingLibrary ( |
Close a named library. |
|
|
InitForCooking ( |
Initialize the library cooker. |
|
|
IsShaderLibraryEnabled() |
Whether storing shaders in the shader library is enabled |
|
|
NeedsShaderStableKeys ( |
We check this early in the callstack to avoid creating a bunch of FName and keys and things we will never save anyway. |
|
|
SaveShaderLibraryChunk |
Saves a single chunk of the collected shader code (per shader platform). |
|
|
SaveShaderLibraryWithoutChunking |
Saves collected shader code to a single file per shader platform When chunking is enabled, this call will not write the shader code, only the SCL.CSV file with the stable shader info. |
|
|
Shutdown() |
Shutdown the library cooker. |
Name |
Description |
|
---|---|---|
|
FShaderFormatDescriptor |