nw::demo::GraphicsDrawing::InitializeFont Member Function

Syntax

bool InitializeFont(
     os::IAllocator * allocator,
     const wchar_t * fontShaderPath,
     void * fontBinary,
     size_t fontSize
);

Arguments

Name Description
in allocator Allocator.
in fontShaderPath Font shader path.
in fontBinary Pointer to the font binary.
in fontSize Size of the font binary.

Return Values

Returns true if initialized successfully and false otherwise.

Description

Initializes the font.

The font binary is not destroyed by Finalize.


CONFIDENTIAL