natiny_font_destroy
void natiny_font_destroy(NatinyFont font);
Destroys a font and releases its internal resources.
Parameters
| Name | Type | Description |
|---|---|---|
font |
NatinyFont |
Font handle from natiny_font_create |
Example
natiny_font_destroy(font);
Notes
- The handle and its atlas texture become invalid. Destroying a font does not destroy the source resource used to create it. Invalid handles are ignored.