nn::font::ArchiveFont::GetRequireBufferSize Member Function
static u32 GetRequireBufferSize(
const void * bfnt,
const char * glyphGroups = LOAD_GLYPH_ALL
);
| Name | Description | |
|---|---|---|
| in | bfnt | Pointer to the first part of a font resource. |
| in | glyphGroups | String specifying the glyph group to load. |
Construct or InitStreamingConstruct function. Returns 0 if the buffer size could not be calculated for some reason, such as when bfnt is an invalid resource. Calculates the buffer size required to construct the font.
CONFIDENTIAL