FastUIDraw
|
#include <glyph_cache.hpp>
Public Member Functions | |
unsigned int | location (void) const |
bool | valid (void) const |
Friends | |
class | GlyphCache |
An AllocationHandle represents a handle to data allocated on the underlying GlyphAtlas of a GlyphCache. The handle is to be used to deallocate from the GlyphAtlas. Note that all data on the GlyphCache is deallocated when GlyphCache::clear_atlas() or GlyphCache::clear_cache() is called.
Definition at line 54 of file glyph_cache.hpp.
|
inline |
Returns the location within the GlyphAtlas of the allocated data.
Definition at line 77 of file glyph_cache.hpp.
|
inline |
Returns true if the AllocationHandle refers to a successful allocation.
Definition at line 67 of file glyph_cache.hpp.