FastUIDraw
Public Member Functions | Friends | List of all members
fastuidraw::GlyphAtlasProxy Class Reference

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>

Inheritance diagram for fastuidraw::GlyphAtlasProxy:
Inheritance graph
[legend]

Public Member Functions

int allocate_data (c_array< const uint32_t > pdata)
 
unsigned int total_allocated (void) const
 

Friends

class Glyph
 
class GlyphCache
 

Detailed Description

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.

Member Function Documentation

◆ allocate_data()

int fastuidraw::GlyphAtlasProxy::allocate_data ( c_array< const uint32_t >  pdata)

Negative return value indicates failure.

◆ total_allocated()

unsigned int fastuidraw::GlyphAtlasProxy::total_allocated ( void  ) const

Returns the total amount allocated thorugh this GlyphAtlasProxy.


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