Add documentation details about Image formats and color space conversion

(cherry picked from commit e37f408e70)
This commit is contained in:
Florian Jung
2018-09-13 16:38:50 +02:00
committed by Rémi Verschelde
parent 5d53d6dd8c
commit 8514b4d403
2 changed files with 11 additions and 11 deletions

View File

@@ -36,7 +36,7 @@
<argument index="1" name="flags" type="int" default="7">
</argument>
<description>
Create a new [code]ImageTexture[/code] from an [Image] with "flags" from [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_*.
</description>
</method>
<method name="get_format" qualifiers="const">