Managed composition target container.
More...
#include <kanzi/core.ui/node/node_compositor2d.hpp>
Managed composition target container.
kanzi::NodeCompositor2D::ManagedCompositionTarget::ManagedCompositionTarget |
( |
| ) |
|
|
inline |
TextureSharedPtr kanzi::NodeCompositor2D::ManagedCompositionTarget::getCompositionTarget |
( |
| ) |
const |
|
inline |
Access composition target.
- Returns
- Current composition target.
bool kanzi::NodeCompositor2D::ManagedCompositionTarget::hasCompositionTarget |
( |
| ) |
const |
|
inline |
Tell if a managed composition target has been allocated.
- Returns
- True if yes, false if no.
void kanzi::NodeCompositor2D::ManagedCompositionTarget::setCompositionTarget |
( |
TextureSharedPtr |
framebuffer | ) |
|
|
inline |
Update composition target.
Will implicitly invalidate cache status.
- Parameters
-
framebuffer | New framebuffer. |
bool kanzi::NodeCompositor2D::ManagedCompositionTarget::isCacheValid |
( |
| ) |
const |
|
inline |
Tell if cache is valid.
- Returns
- True if yes, false if no.
void kanzi::NodeCompositor2D::ManagedCompositionTarget::setCacheValid |
( |
bool |
valid | ) |
|
|
inline |
void kanzi::NodeCompositor2D::ManagedCompositionTarget::reset |
( |
| ) |
|
|
inline |
Reset current composition target allocation.
The documentation for this struct was generated from the following file: