diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-17 18:35:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 18:35:27 +0200 |
commit | 364cb2ce9260c186262122a3ebd3d7a4410e30b1 (patch) | |
tree | 6298b4586525ef1bbe07fb002a462e0699e0c841 /doc/classes | |
parent | be00fcf803b2e8f74f6d5708dfb3a9f455cb06f3 (diff) | |
parent | 5497cec7a1c6e724f979b506a53bb07b5f71ce17 (diff) | |
download | redot-engine-364cb2ce9260c186262122a3ebd3d7a4410e30b1.tar.gz |
Merge pull request #37962 from Calinou/doc-image-size-limits
Document image size limits
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Image.xml | 1 | ||||
-rw-r--r-- | doc/classes/ImageTexture.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index f541b0ae66..8cffe07fc0 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -5,6 +5,7 @@ </brief_description> <description> Native image datatype. Contains image data, which can be converted to a [Texture2D], and several functions to interact with it. The maximum width and height for an [Image] are [constant MAX_WIDTH] and [constant MAX_HEIGHT]. + [b]Note:[/b] The maximum image size is 16384×16384 pixels due to graphics hardware limitations. Larger images will fail to import. </description> <tutorials> </tutorials> diff --git a/doc/classes/ImageTexture.xml b/doc/classes/ImageTexture.xml index 1578783b8b..d122d74e85 100644 --- a/doc/classes/ImageTexture.xml +++ b/doc/classes/ImageTexture.xml @@ -5,6 +5,7 @@ </brief_description> <description> A [Texture2D] based on an [Image]. Can be created from an [Image] with [method create_from_image]. + [b]Note:[/b] The maximum image size is 16384×16384 pixels due to graphics hardware limitations. Larger images will fail to import. </description> <tutorials> </tutorials> |