bool InitializeFont(
os::IAllocator * allocator,
const wchar_t * fontShaderPath,
void * fontBinary,
size_t fontSize
);
| Name | Description | |
|---|---|---|
| in | allocator | Allocator. |
| in | fontShaderPath | Font shader path. |
| in | fontBinary | Pointer to the font binary. |
| in | fontSize | Size of the font binary. |
true if initialized successfully and false otherwise. Initializes the font.
The font binary is not destroyed by Finalize.
CONFIDENTIAL