nn::font::PackedFont::Construct Member Function
bool Construct(
void * pBuffer,
u32 bufferSize,
const void * bfnt,
const char * glyphGroups = LOAD_GLYPH_ALL
);
| Name | Description | |
|---|---|---|
| out | pBuffer | Pointer to the buffer associated with this instance. Must be aligned on a 128-byte boundary. |
| in | bufferSize | Size of the buffer pointed to by pBuffer. |
| in | bfnt | Pointer to a binary resource (BFNT) already loaded in memory. |
| in | glyphGroups | String specifying the glyph group to load. |
true if the font is successfully constructed; otherwise, returns false. Fails if the archive font bfnt is invalid or if the buffer size is too small. Extracts the glyph group from the archive font and constructs a font.
CONFIDENTIAL