소스 검색

Document the formats supported by `Image.load()`

This partially addresses #32166.

(cherry picked from commit a26649de42be62068bd5b46f4aa9bdc711be5e38)
Hugo Locurcio 5 년 전
부모
커밋
be56ec9e65
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/classes/Image.xml

+ 1 - 1
doc/classes/Image.xml

@@ -330,7 +330,7 @@
 			<argument index="0" name="path" type="String">
 			</argument>
 			<description>
-				Loads an image from file [code]path[/code].
+				Loads an image from file [code]path[/code]. See [url=https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats]Supported image formats[/url] for a list of supported image formats and limitations.
 			</description>
 		</method>
 		<method name="load_jpg_from_buffer">