- destroy-texture! textureprocedure
Destroy the sdl2:texture, freeing its underlying struct. texture's pointer will be set to null (see struct-null?). It is safe to call tihs procedure with managed on unmanaged sdl2:textures. It is safe (but has no effect) to destroy an sdl2:texture multiple times.
This procedure is available in sdl2 egg version 0.2.0 and higher.