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

◆ background

glm::vec4 MayaFlux::Portal::Text::PressParams::background { 0.F, 0.F, 0.F, 0.F }

RGBA fill composited beneath every glyph.

Default fully transparent, matching behavior before this field existed.

Stored on the resulting TextBuffer (TextBuffer::set_background) at press() time, the same way atlas and render bounds persist: repress(TextBuffer&, ...) and impress() read it back automatically on every subsequent call, so a caller sets it once. The VKImage-returning overloads (press(text, render_bounds, params), repress(VKImage&, ...)) have no buffer to persist it on, so those read background fresh from params on every call instead.

Definition at line 84 of file InkPress.hpp.

84{ 0.F, 0.F, 0.F, 0.F };

Referenced by MayaFlux::Portal::Text::press(), MayaFlux::Portal::Text::press(), MayaFlux::Portal::Text::repress(), and MayaFlux::Portal::Text::TextRun::vertices().