Expand description
Image and vector assets for Kova Native.
ImageData— decoded raster images (PNG, JPEG, WebP), stored as premultiplied RGBA ready for the GPU atlas.SvgData— parsed SVG documents, rasterized on demand at the exact device pixel size they are drawn at (crisp at any scale factor).AssetCache— deduplicates loads by source so the same file is decoded once no matter how many elements display it.
Structs§
- Asset
Cache - Caches decoded assets by source. Thread safe, so decoding can happen on background threads.
- Image
Data - A decoded raster image (premultiplied RGBA8).
- SvgData
- A parsed SVG document.
Enums§
- Asset
Source - Where an asset comes from.