Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCodeLibrary
Description
Makes a number of ChunkIDs known to the library.
Normally the library is tracking chunk IDs runtime itself by listening to the pak mounted notifications. However, sometimes shaderbytecode files are moved between the chunks by the packaging code can can end up being preloaded. Takes C array and not TArray because that makes easier to hardcode the chunk IDs (which is the intended use case for this function).
| Name | AddKnownChunkIDs |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h |
| Include Path | #include "ShaderCodeLibrary.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderCodeLibrary.cpp |
static void AddKnownChunkIDs
(
const int32 * IDs,
const int32 NumChunkIDs
)