struct ResourceSaveOptions

Options that control resource save operation.

Public

Constructors

ResourceSaveOptions

ResourceSaveOptions(bool overwrite = true, bool compress = true, const Path &virtualPathPrefix = Path::kBlank)

Fields

Overwrite

bool Overwrite

If set, save operation will overwrite any existing resource at the provided path.

Compress

bool Compress

If set, compression will be used on resource data when saving.

VirtualPathPrefix

Path VirtualPathPrefix

If non-empty, this path can be used for loading the resource. (e.g. "/Game/Textures/" prefix path will allow loading of a resource named "BrickAlbedo" via "/Game/Textures/BrickAlbedo" path).