#include <stabilize.hpp>
◆ StableElement()
Nui::StableElement::StableElement |
( |
| ) |
|
|
inline |
◆ destroy()
void Nui::StableElement::destroy |
( |
| ) |
|
Destroys the stable element directly, which will make it also disappear from the page.
◆ reset()
void Nui::StableElement::reset |
( |
| ) |
|
Resets the stable element, so that it is re-rendered on the next render.
◆ stableElement() [1/2]
◆ stableElement() [2/2]
Dom::Element const & Nui::StableElement::stableElement |
( |
| ) |
const |
◆ stabilize
Stabilizes an element, so that it is not re-rendered on every render.
- Parameters
-
stableElement | A stable element handle held by the caller. Must not be destroyed before the associated ui. |
encapsulatedRenderer | The renderer that should be rendered once and then stabilized. |
- Returns
- ElementRenderer A renderer that renders the encapsulated renderer once and then stabilizes it.
The documentation for this class was generated from the following files: