FastUIDraw
|
An GlyphAtlasProxy is a proxy for a GlyphAtlas; one can allocate through it. Internally it tracks all that was allocated with it. More...
#include <glyph_atlas_proxy.hpp>
Public Member Functions | |
int | allocate_data (c_array< const uint32_t > pdata) |
unsigned int | total_allocated (void) const |
Friends | |
class | Glyph |
class | GlyphCache |
An GlyphAtlasProxy is a proxy for a GlyphAtlas; one can allocate through it. Internally it tracks all that was allocated with it.
!
Definition at line 36 of file glyph_atlas_proxy.hpp.
int fastuidraw::GlyphAtlasProxy::allocate_data | ( | c_array< const uint32_t > | pdata | ) |
Negative return value indicates failure.
unsigned int fastuidraw::GlyphAtlasProxy::total_allocated | ( | void | ) | const |
Returns the total amount allocated thorugh this GlyphAtlasProxy.