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

Owning renderer error, independent of the scene lifetime. More...

#include <render.hpp>

Public Member Functions

bool operator== (const RenderError &other) const noexcept=default
 Compare both owning error fields.

Public Attributes

RenderErrorKind kind {}
 Failure category.
CellBufferError buffer_error {}
 Underlying error, meaningful only when kind is buffer_error.

Detailed Description

Owning renderer error, independent of the scene lifetime.

Member Function Documentation

◆ operator==()

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

Compare both owning error fields.

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: