loadFree

Creates a Texture2D from an Image and then frees the image from memory.

Return

A Texture2D object representing the created texture.

Parameters

image

The image to create the texture from.