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 [code]width[/code] and [code]height[/code].
[code]format[/code] is a value from [enum Image.Format], [code]flags[/code] is any combination of [enum Texture.Flags].
Create a new [code]ImageTexture[/code] from an [Image] with [code]flags[/code] from [enum Texture.Flags]. An sRGB to linear color space conversion can take place, according to [enum Image.Format].
Return the format of the [code]ImageTexture[/code], one of [enum 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]STORAGE_COMPRESS_LOSSY[/code].
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 [member lossy_quality].
[Image] data is compressed with a lossless algorithm.