Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCodeResource
Description
Unpacks the given FSharedBuffer into separate header/code buffer views and returns them as a 2-segment composite buffer. Note that this is required since when pushing a composite buffer to DDC it does not maintain the segment structure.
| Name | Unpack |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
static FCompositeBuffer Unpack
(
FSharedBuffer MonolithicBuffer
)