|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::Element::set_text | ( | std::string_view | text, |
| std::optional< Portal::Text::PressParams > | params | ||
| ) |
Re-composite text into the retained GPU texture.
No-op when texture is null (element was not constructed via with_text()). Calls Portal::Text::repress(VKImage&, ...) which updates the image in-place. Rebinds the texture after repress in case repress reallocated the VKImage.
| text | New UTF-8 string. |
| params | PressParams. Defaults apply when omitted. |
Definition at line 68 of file Element.cpp.
References buffer, MayaFlux::Portal::Text::repress(), and texture.
Here is the call graph for this function: