-
-
Couldn't load subscription status.
- Fork 19
surface_free
Vašek edited this page Jan 18, 2019
·
3 revisions
Destroys the surface
surface_free(surface_id)| Argument | Description |
|---|---|
RenderTarget2D surface_id |
The ID of the surface |
Returns: void
When you are finished with using surface, you can free it from your memory by deleting it.
surface_free(surf);This function will delete the surface surf. Now it's deleted from your memory.
Back to surfaces