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

Swapchain configurations issued since initialize(), the first one included, their total wall-clock milliseconds, and whether the size has settled. More...

#include <gpu_surface.hpp>

Public Attributes

uint64_t configure_count = 0
double configure_ms = 0.0
bool settled = false
 SwapchainResizeState::settled(): the size has held for two frames.

Detailed Description

Swapchain configurations issued since initialize(), the first one included, their total wall-clock milliseconds, and whether the size has settled.

Offscreen surfaces never configure; implementations without a swapchain report zero and never settle.

Member Data Documentation

◆ configure_count

uint64_t pulp::render::GpuSurface::SwapchainStats::configure_count = 0

◆ configure_ms

double pulp::render::GpuSurface::SwapchainStats::configure_ms = 0.0

◆ settled

bool pulp::render::GpuSurface::SwapchainStats::settled = false

SwapchainResizeState::settled(): the size has held for two frames.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/render/include/pulp/render/gpu_surface.hpp