natiny_texture_destroy
void natiny_texture_destroy(NatinyTexture texture);
Destroys a texture and frees its GPU resources.
Parameters
| Name | Type | Description |
|---|---|---|
texture |
NatinyTexture |
Texture handle from natiny_texture_create |
Example
natiny_texture_destroy(tex);