Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h |
Include |
#include "ShaderCodeLibrary.h" |
struct FShaderCodeLibrary
Collection of unique shader code Populated at cook time
Name | Description | ||
---|---|---|---|
|
AddShaderCode ( |
At cook time, add shader code to collection. |
|
|
AddShaderStableKeyValue ( |
At cook time, add the human readable key value information. |
|
|
CleanDirectories |
Clean the cook directories. |
|
|
CloseLibrary ( |
Close a named library. |
|
|
ContainsShaderCode ( |
||
|
CookShaderFormats |
Specify the shader formats to cook and which ones needs stable keys. |
|
|
FComputeShad... |
CreateComputeShader ( |
|
|
FDomainShade... |
CreateDomainShader ( |
|
|
FGeometrySha... |
CreateGeometryShader ( |
|
|
FHullShaderR... |
CreateHullShader ( |
|
|
CreatePatchLibrary |
Create a smaller 'patch' library that only contains data from 'NewMetaDataDir' not contained in any of 'OldMetaDataDirs'. |
|
|
FPixelShader... |
CreatePixelShader ( |
|
|
FVertexShade... |
CreateVertexShader ( |
|
|
DumpShaderCodeStats() |
Dump collected stats for each shader platform. |
|
|
EShaderPlatf... |
GetRuntimeShaderPlatform() |
The shader platform that the library manages - at runtime this will only be one. |
|
GetShaderCount() |
Total number of shader entries in the library. |
|
|
InitForCooking ( |
Initialize the library cooker. |
|
|
InitForRuntime ( |
||
|
IsEnabled() |
||
|
TRefCountPtr... |
LoadResource |
|
|
NeedsShaderStableKeys ( |
We check this early in the callstack to avoid creating a bunch of FName and keys and things we will never save anyway. |
|
|
OpenLibrary |
Open a named library. |
|
|
PackageNativeShaderLibrary |
Package the separate shader bytecode files into a single native shader library. Must be called by the master process. |
|
|
PreloadShader |
||
|
FDelegateHan... |
RegisterSharedShaderCodeRequestDelegate_Handle ( |
Delegate called whenever shader code is requested. |
|
SafeAssignHash ( |
Safely assign the hash to a shader object. |
|
|
SaveShaderCodeChild |
Save collected shader code to a file for each specified shader platform, handles only this instances intermediate results. |
|
|
SaveShaderCodeMaster |
Save collected shader code to a file for each specified shader platform, collating all child cooker results. |
|
|
Shutdown() |
||
|
UnregisterSharedShaderCodeRequestDelegate_Handle ( |