nw::demo::GraphicsDrawing::InitializeFont Member Function
bool InitializeFont(
os::IAllocator * allocator,
const wchar_t * fontShaderPath,
const wchar_t * fontPath
);
| Name | Description | |
|---|---|---|
| in | allocator | Allocator. |
| in | fontShaderPath | Font shader path. |
| in | fontPath | Font file path. |
true if initialized successfully and false otherwise. Initializes a font.
The font binary is destroyed by DestroyFont.
CONFIDENTIAL