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. | |
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.
|
constexprdefault |
| std::uint32_t pulp::format::DeviceQuotas::max_nodes = 0 |
Nodes in the compiled render graph.
| std::uint32_t pulp::format::DeviceQuotas::max_simultaneous_editors = 0 |
Editing surfaces held open against one document at once.
| std::uint32_t pulp::format::DeviceQuotas::max_voices = 0 |
Simultaneously sounding voices across all instruments.
| PreviewQuality pulp::format::DeviceQuotas::preview_quality = PreviewQuality::Disabled |
Detail budget for preview rendering.