Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCodeResource
Description
Populates the header for this code resource with the given sizes and frequency. Note that this is done as a separate process from the construction of the Code buffer as the shader frequency is only known by the owning job, and not stored in the FShaderCode.
| Name | PopulateHeader |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
void PopulateHeader
(
int32 UncompressedSize,
int32 ShaderCodeSize,
EShaderFrequency Frequency
)