bool isReady()
Check whether the visual content is loaded and ready.
static VContent getImage(std::string path, bool isRGBA, bool set12Bit)
Load a PNG image and create a VContent instance.
std::string path
Source path of the image/animation.
Definition VContent.h:65
bool alpha
True if the source image has an alpha channel.
Definition VContent.h:68
uint16_t active_frame_id
Selected frame index on load.
Definition VContent.h:53
bool color12Bit
True if image color depth is 12-bit.
Definition VContent.h:71
uint16_t ft
Total number of frames in the sequence.
Definition VContent.h:56
std::vector< std::vector< uint8_t > > frames
Image frame buffers.
Definition VContent.h:50
uint16_t loop
Loop count for animations.
Definition VContent.h:87