A [Texture] based on an [Image].
A [Texture] based on an [Image]. Can be created from an [Image] with [method create_from_image].
Create a new [code]ImageTexture[/code] with "width" and "height".
"format" one of [Image].FORMAT_*.
"flags" one or more of [Texture].FLAG_*.
Create a new [code]ImageTexture[/code] from an [Image] with "flags" from [Texture].FLAG_*. An sRGB to linear color space conversion can take place, according to [Image].FORMAT_*.
Return the format of the [code]ImageTexture[/code], one of [Image].FORMAT_*.
Load an [code]ImageTexture[/code] from a file path.
Set the [Image] of this [code]ImageTexture[/code].
Resizes the [code]ImageTexture[/code] to the specified dimensions.
The storage quality for [code]ImageTexture[/code].STORAGE_COMPRESS_LOSSY.
The storage type (raw, lossy, or compressed).
[Image] data is stored raw and unaltered.
[Image] data is compressed with a lossy algorithm. You can set the storage quality with [method set_lossy_storage_quality].
[Image] data is compressed with a lossless algorithm.