Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::DecodedImage Struct Reference

#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.

Member Data Documentation

◆ bytes

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.

◆ height

uint32_t pulp::view::DecodedImage::height = 0

◆ native_handle

void* pulp::view::DecodedImage::native_handle = nullptr

Platform-owned handle.

Opaque — consumers pass it back to the draw path. Cleared on eviction.

◆ width

uint32_t pulp::view::DecodedImage::width = 0

The documentation for this struct was generated from the following file: