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

Ceilings a consumer may grant at one (tier, thermal state) cell. More...

#include <device_quotas.hpp>

Public Member Functions

constexpr auto operator<=> (const DeviceQuotas &) const =default

Public Attributes

std::uint32_t max_voices = 0
 Simultaneously sounding voices across all instruments.
std::uint32_t max_nodes = 0
 Nodes in the compiled render graph.
std::uint32_t max_simultaneous_editors = 0
 Editing surfaces held open against one document at once.
PreviewQuality preview_quality = PreviewQuality::Disabled
 Detail budget for preview rendering.

Detailed Description

Ceilings a consumer may grant at one (tier, thermal state) cell.

These are declarations, not enforcement. Nothing consumes them yet; each field names a quantity an existing owner could enforce at its own admission point — a voice pool for max_voices, a compiled render program's node admission for max_nodes, writer registration for max_simultaneous_editors, and a preview request for preview_quality.

Those four owners sit in four different modules, three of them behind floor rows that cannot see each other. That is why the fields travel together as one row here and are handed down individually: the row is a single policy decision about one device, and its monotonicity is a property of the whole row rather than of any one field.

Member Function Documentation

◆ operator<=>()

auto pulp::format::DeviceQuotas::operator<=> ( const DeviceQuotas & ) const
constexprdefault

Member Data Documentation

◆ max_nodes

std::uint32_t pulp::format::DeviceQuotas::max_nodes = 0

Nodes in the compiled render graph.

◆ max_simultaneous_editors

std::uint32_t pulp::format::DeviceQuotas::max_simultaneous_editors = 0

Editing surfaces held open against one document at once.

◆ max_voices

std::uint32_t pulp::format::DeviceQuotas::max_voices = 0

Simultaneously sounding voices across all instruments.

◆ preview_quality

PreviewQuality pulp::format::DeviceQuotas::preview_quality = PreviewQuality::Disabled

Detail budget for preview rendering.


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