nw::font::PackedFont::UnlockSheet Member Function

Syntax

bool UnlockSheet(
     CharCode c,
     bool bUnload = true
);

Arguments

Name Description
in c Character code indicating the glyph included on the sheet to be unlocked.
in bUnload Specify true to discard from the cache after unlocking.

Return Values

Returns false if the target sheet does not exist in cache.

Description

Unlocks sheets.

Releases the lock so that sheets which were made to not be discarded by the nw::font::PackedFont::LockSheet function can once again be discarded. An option can be set to discard the sheet from the cache when the lock is released.

See Also

nw::font::PackedFont::GetNumCache
nw::font::PackedFont::LockSheet
nw::font::PackedFont::UnlockSheetAll

Revision History

2009/11/09
Initial version.

CONFIDENTIAL