Add documentation details about Image formats and color space conversion

This commit is contained in:
Florian Jung
2018-09-13 16:38:50 +02:00
parent bcc50de2d1
commit e37f408e70
2 changed files with 20 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">