A [Texture2D] based on an [Image].
A [Texture2D] based on an [Image]. Can be created from an [Image] with [method create_from_image].
[b]Note:[/b] The maximum image size is 16384×16384 pixels due to graphics hardware limitations. Larger images will fail to import.
Create a new [ImageTexture] from an [Image].
Returns the format of the [ImageTexture], one of [enum Image.Format].
Resizes the [ImageTexture] to the specified dimensions.
Replaces the texture's data with a new [code]image[/code]. If [code]immediate[/code] is [code]true[/code], it will take effect immediately after the call.