mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add documentation details about Image formats and color space conversion
(cherry picked from commit e37f408e70)
This commit is contained in:
committed by
Rémi Verschelde
parent
5d53d6dd8c
commit
8514b4d403
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user