A [Texture2D] based on an [Image]. A [Texture2D] based on an [Image]. Can be created from an [Image] with [method create_from_image]. 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.