natiny_surface_destroy

C
void natiny_surface_destroy(NatinySurface surf);

Destroys a surface and releases its GPU resources.

Parameters

Name Type Description
surf NatinySurface Surface handle from natiny_surface_create

Example

C
natiny_surface_destroy(rt);

Notes

  • Do not use the surface handle after destroy.