load

Gets an Image from a Texture2D.

Return

An Image object representing the image extracted from the texture.

Parameters

texture

The texture to get the image from.


Creates a Texture2D from an Image.

Return

A Texture2D object representing the created texture.

Parameters

image

The image to create the texture from.