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

GPU bytes held by a surface's Skia resource caches. More...

#include <skia_surface.hpp>

Public Attributes

std::size_t budgeted = 0
std::size_t purgeable = 0

Detailed Description

GPU bytes held by a surface's Skia resource caches.

budgeted counts every resource charged against the cache budget, whether or not something still uses it. purgeable is the subset nothing uses any more: textures an image cache released, scratch targets from earlier frames. Those stay resident until a trim or budget pressure frees them, so purgeable is what a trim can return to the device.

Member Data Documentation

◆ budgeted

std::size_t pulp::render::GpuCacheBytes::budgeted = 0

◆ purgeable

std::size_t pulp::render::GpuCacheBytes::purgeable = 0

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