nn::font::ResFont::SetResource Member Function

Syntax

bool SetResource(
     void * bfnt
);

Parameters

Name Description
inout bfnt Pointer to the BFNT to associate with ResFont. Must be aligned on a 128-byte boundary.

Return Values

Returns true if this is successfully associated with a resource and false otherwise. This function fails if bfnt is an invalid resource.

Description

Enables the use of a font by associating it with a font resource.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL