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.
nw::demo::GraphicsDrawing::InitializeFont Member Function
bool InitializeFont(
void * shaderBinary,
size_t shaderSize,
void * fontBinary,
size_t fontSize,
void * drawBuffer,
void * stringBuffer
);
| Name | Description | |
|---|---|---|
| in | shaderBinary | Pointer to the shader binary. |
| in | shaderSize | Size of the shader binary. |
| in | fontBinary | Pointer to the font binary. |
| in | fontSize | Size of the font binary. |
| in | drawBuffer | Pointer to the draw buffer. |
| in | stringBuffer | Buffer for text strings. |
true if initialized successfully and false otherwise. Initializes a font.
CONFIDENTIAL