carb::assets::Reason

Defined in carb/assets/AssetsTypes.h

enum class carb::assets::Reason

The reason a Snapshot was taken or not.

Values:

enumerator eSuccess

The asset was loaded, and the snapshot is valid.

enumerator eInvalidHandle

The asset handle was invalid, this may mean the asset was canceled.

enumerator eInvalidType

Although the asset may or may not have loaded, the snapshot type did not match the type the asset was loaded from. This should be construed as a programmer error.

enumerator eFailed

The asset was not loaded, because load asset failed. Notably loadAsset returned nullptr.

enumerator eLoading

The asset is still in the process of loading.