nn::font::PackedFont::GetRequireBufferSize Member Functionstatic u32 GetRequireBufferSize( const void * bfnt, const char * glyphGroups, int numSheetCache );
| Name | Description | |
|---|---|---|
| in | bfnt | Pointer to the first part of a binary resource (BFNT) loaded into memory. |
| in | glyphGroups | String specifying the glyph group to load. |
| in | numSheetCache | Maximum number of cached expanded sheets. |
| in | rateSheetCache | Proportion of the maximum number of cached expanded sheets to the number of sheets. |
Construct or InitStreamingConstruct functions. 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