Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCodeResource
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include | #include "ShaderCore.h" |
void PopulateHeader
(
int32 UncompressedSize,
int32 ShaderCodeSize,
EShaderFrequency Frequency
)
Remarks
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.