Owns the installed frame; raster and chrome callbacks receive the same immutable object.
More...
#include "donner/editor/DocumentPresenter.h"
Owns the installed frame; raster and chrome callbacks receive the same immutable object.
◆ DocumentPresenter()
- Parameters
-
| sink | Installs every draw pass for the frame, or clears them on null. |
◆ present()
| bool donner::editor::DocumentPresenter::present |
( |
std::shared_ptr< const FramePresentation > | frame | ) |
|
Install a sealed frame. An older frame cannot supersede a newer installed frame.
- Parameters
-
| frame | Complete presentation, or null to clear the draw callbacks. |
- Returns
- False when a stale or conflicting frame identity was refused.
The documentation for this class was generated from the following file: