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

◆ texture() [2/2]

const Kakshya::TextureContainer & MayaFlux::Portal::Text::GlyphAtlas::texture ( ) const
inline

The atlas texture as a TextureContainer (R8, atlas_size x atlas_size).

The container is valid after construction. Its pixel data is updated in-place as new glyphs are rasterized; callers must re-upload to GPU after any rasterization call that returns non-null.

Definition at line 104 of file GlyphAtlas.hpp.

104{ return *m_texture; }
std::unique_ptr< Kakshya::TextureContainer > m_texture

Referenced by MayaFlux::Portal::Text::rasterize_quads().

+ Here is the caller graph for this function: