diff --git a/doc/classes/AtlasTexture.xml b/doc/classes/AtlasTexture.xml index 459d15a5341..179f78f16f3 100644 --- a/doc/classes/AtlasTexture.xml +++ b/doc/classes/AtlasTexture.xml @@ -1,8 +1,11 @@ + Packs multiple small textures in a single, bigger one. Helps to optimize video memory costs and render calls. + [Texture] resource aimed at managing big textures files that pack multiple smaller textures. Consists of a [Texture], a margin that defines the border width, + and a region that defines the actual area of the AtlasTexture. @@ -54,10 +57,13 @@ + The texture that contains the atlas. Can be any [Texture] subtype. + The margin around the region. The [Rect2]'s 'size' parameter ('w' and 'h' in the editor) resizes the texture so it fits within the margin. + The AtlasTexture's used region.