destroy_texture

Function destroy_texture 

Source
pub fn destroy_texture(handle: TextureHandle)
Expand description

Destroy a TextureHandle’s associated texture data.

§Errors

Returns an crate::ErrorCode::InvalidArguments if there is no texture associated to the provided handle.