Navigation
API > API/Developer > API/Developer/CookMetadata
After staging when sizes are written back we assign the sizes of shaders to these fake assets and we expose a dependency list for "normal" packages that use them. This can be used to determine an inclusive size for packages that also considers shader sizes.
| Name | FCookMetadataShaderPseudoAsset |
| Type | struct |
| Header File | /Engine/Source/Developer/CookMetadata/Public/CookMetadata.h |
| Include Path | #include "CookMetadata.h" |
Syntax
struct FCookMetadataShaderPseudoAsset
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompressedSize | uint32 | Shaders are always compressed, independent of what GetSizesPresent() says. | CookMetadata.h | |
| Name | FString | This is artificially generated based on the chunk the shader belongs to and its hash. | CookMetadata.h |