From 0e93a1df793de92f4ec6f4bb097cfd5aa94a7157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 28 Apr 2021 14:15:29 +0200 Subject: Remove obsolete LargeTexture, it's no longer useful since 3.x It existed in early Godot releases to allow working around hardware limitations on max texture sizes (e.g. hardware limits of 1024x1024 pixels). Nowadays the max texture size supported natively by Godot is 16384x16384, and even low end mobile hardware should support at least 4096x4096. The LargeTexture implementation is basically just an array with offsets, sizes and textures and should be easy to replicate with a custom Texture resource if needed - solving most of its bugs on the way as the implementation removed here has various unimplemented or incomplete methods. --- doc/classes/LargeTexture.xml | 90 -------------------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 doc/classes/LargeTexture.xml (limited to 'doc/classes') diff --git a/doc/classes/LargeTexture.xml b/doc/classes/LargeTexture.xml deleted file mode 100644 index a1d172e4b1..0000000000 --- a/doc/classes/LargeTexture.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - A [Texture2D] capable of storing many smaller textures with offsets. - - - A [Texture2D] capable of storing many smaller textures with offsets. - You can dynamically add pieces ([Texture2D]s) to this [LargeTexture] using different offsets. - - - - - - - - - - - - - Adds [code]texture[/code] to this [LargeTexture], starting on offset [code]ofs[/code]. - - - - - - - Clears the [LargeTexture]. - - - - - - - Returns the number of pieces currently in this [LargeTexture]. - - - - - - - - - Returns the offset of the piece with the index [code]idx[/code]. - - - - - - - - - Returns the [Texture2D] of the piece with the index [code]idx[/code]. - - - - - - - - - - - Sets the offset of the piece with the index [code]idx[/code] to [code]ofs[/code]. - - - - - - - - - - - Sets the [Texture2D] of the piece with index [code]idx[/code] to [code]texture[/code]. - - - - - - - - - Sets the size of this [LargeTexture]. - - - - - - -- cgit v1.2.3