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

◆ set_background()

void MayaFlux::Buffers::TextBuffer::set_background ( glm::vec4  color)
inline

RGBA fill composited beneath every glyph.

Set at press() time (Portal::Text::PressParams::background), fixed for the life of this buffer the same way atlas and render bounds are: repress() and impress() read it automatically, no per-call argument. Default is fully transparent, matching this buffer's behavior before this field existed.

Definition at line 129 of file TextBuffer.hpp.

129{ m_background = color; }
glm::vec3 color
Definition Decoder.cpp:97

References color.