gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
Loading...
Searching...
No Matches
gdk::graphics::ext::font_texture Class Referencefinal

a font's atlas as a texture More...

#include <font_texture.h>

Public Member Functions

void upload ()
 brings the texture up to the atlas: what has changed since the last upload is patched in, or the texture made again if the atlas has grown or been cleared since. Nothing is sent when the atlas hasn't changed.
texture_ptr_type texture () const
 the texture, null before the first upload
std::size_t uploaded_atlas_generation () const
 the atlas generation the texture holds
const std::shared_ptr< font > & typeface () const
 the font whose atlas this is
 font_texture (context_ptr_type aContext, std::shared_ptr< font > aFont)

Detailed Description

a font's atlas as a texture


The documentation for this class was generated from the following file: