Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::CellBufferLimits Struct Reference

Owning caps; creation allocates all intern pool capacity, including defaults. More...

#include <cell_buffer.hpp>

Public Member Functions

bool operator== (const CellBufferLimits &other) const noexcept=default
 Compare all resource caps.

Public Attributes

std::size_t max_columns {4096}
 Maximum normalized columns, bounded additionally by INT32_MAX.
std::size_t max_rows {4096}
 Maximum normalized rows, bounded additionally by INT32_MAX.
std::size_t max_cells {4 * 1024 * 1024}
 Maximum cells in the checked rows-times-columns product.
std::size_t max_glyphs {65536}
 Maximum interned display glyphs, including the blank glyph. Must be positive.
std::size_t max_glyph_bytes {1024 * 1024}
 Maximum interned UTF-8 bytes, including one blank byte. Must be positive.
std::size_t max_styles {4096}
 Maximum interned styles, including the default style. Must be positive.

Detailed Description

Owning caps; creation allocates all intern pool capacity, including defaults.

Member Function Documentation

◆ operator==()

bool portals::CellBufferLimits::operator== ( const CellBufferLimits & other) const
defaultnoexcept

Compare all resource caps.

Parameters
otherValue whose corresponding fields are compared.
Returns
True when every compared field is equal; false otherwise.

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