#include <image_cache.hpp>
Public Attributes | |
| uint32_t | width = 0 |
| uint32_t | height = 0 |
| void * | native_handle = nullptr |
| Platform-owned handle. | |
| std::size_t | bytes = 0 |
| Best-effort estimate of the resident memory this entry costs (e.g. | |
| std::size_t pulp::view::DecodedImage::bytes = 0 |
Best-effort estimate of the resident memory this entry costs (e.g.
width * height * 4 for RGBA8). Used by the LRU eviction when the total cache exceeds the soft cap.
| uint32_t pulp::view::DecodedImage::height = 0 |
| void* pulp::view::DecodedImage::native_handle = nullptr |
Platform-owned handle.
Opaque — consumers pass it back to the draw path. Cleared on eviction.
| uint32_t pulp::view::DecodedImage::width = 0 |