From cb3bb2652107b4e718ab37f1f966cafd3d9fb917 Mon Sep 17 00:00:00 2001 From: Julian Murgia Date: Wed, 13 Sep 2017 07:42:53 +0200 Subject: Documentation for AtlasTexture. --- doc/classes/AtlasTexture.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/AtlasTexture.xml b/doc/classes/AtlasTexture.xml index 459d15a534..179f78f16f 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. -- cgit v1.2.3