EPrimaryAssetCookRule

Rule about when to cook/ship a primary asset

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManagerTypes.h

Include

#include "Engine/AssetManagerTypes.h"

Syntax

enum EPrimaryAssetCookRule
{
    Unknown,
    NeverCook,
    DevelopmentCook,
    DevelopmentAlwaysCook,
    AlwaysCook,
}

Values

Name

Description

Unknown

Nothing is known about this asset specifically. It will cook if something else depends on it.

NeverCook

Asset should never be cooked/shipped in any situation.

DevelopmentCook

Asset will be cooked in development if something else depends on it, but will never be cooked in a production build.

DevelopmentAlwaysCook

Asset will always be cooked in development, but should never be cooked in a production build.

AlwaysCook

Asset will always be cooked, in both production and development.

Remarks

Rule about when to cook/ship a primary asset