MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ label()

Collapsible & MayaFlux::Portal::Forma::Collapsible::label ( std::shared_ptr< Core::VKImage img)
inline

Attach a GPU image overlaid on the header as a text label.

When set, the FormaBuffer is created with a "text" texture binding and the geometry emits 12 vertices (background + overlay quad). When null (default), a plain color-only buffer is used with 6 vertices.

Definition at line 101 of file Collapsible.hpp.

102 {
103 m_label = std::move(img);
104 return *this;
105 }
std::shared_ptr< Core::VKImage > m_label
Optional GPU image overlaid as a text label. nullptr = color only.

References m_label.

Referenced by MayaFlux::Portal::Forma::make_value_group().

+ Here is the caller graph for this function: