DeferredGraphicResource struct
#include <Jazz2/Resources.h>
Description of a graphic resource that is loaded on first use.
Everything ContentResolver needs to load the sheet behind a GraphicResource that was declared deferred (see Metadata::
Public variables
- String Path
- Relative path to the graphics asset.
- float AnimDuration
- Animation duration override (in normalized frames), used only if HasAnimDuration.
-
std::
int32_t FrameCount - Frame count override, used only if HasFrameCount.
- bool KeepIndexed
- Whether the sheet keeps raw palette indices instead of baked colors.
- bool HasAnimDuration
- Whether the metadata entry specified its own animation duration.
- bool HasFrameCount
- Whether the metadata entry specified its own frame count.