Navigation
API > API/Runtime > API/Runtime/Engine
Rule about when to cook/ship a primary asset
| Name | EPrimaryAssetCookRule |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/AssetManagerTypes.h |
| Include Path | #include "Engine/AssetManagerTypes.h" |
Syntax
enum EPrimaryAssetCookRule
{
Unknown,
NeverCook,
ProductionNeverCook,
DevelopmentCook =ProductionNeverCook,
DevelopmentAlwaysProductionNeverCook,
DevelopmentAlwaysCook = DevelopmentAlwaysProductionNeverCook,
DevelopmentAlwaysProductionUnknownCook,
AlwaysCook,
}
Values
| Name | Remarks |
|---|---|
| Unknown | Nothing is known about this asset specifically. |
| NeverCook | Asset should never be cooked/shipped in any situation. |
| ProductionNeverCook | Asset will be cooked in development if something else depends on it, but will never be cooked in a production build. |
| DevelopmentCook | Legacy name equivalent to Production Never Cook |
| DevelopmentAlwaysProductionNeverCook | Asset will always be cooked in development, but should never be cooked in a production build. |
| DevelopmentAlwaysCook | Legacy name equivalent to DevelopmentAlwaysProductionNeverCook |
| DevelopmentAlwaysProductionUnknownCook | Asset will always be cooked in development; nothing is known about whether it should cook in Production. |
| AlwaysCook | Asset will always be cooked, in both production and development. |