Constructor Texture2DAtlas
Texture2DAtlas(int, int, GraphicsFormat, FilterMode, bool, string, bool)
Creates a new empty texture atlas.
Declaration
public Texture2DAtlas(int width, int height, GraphicsFormat format, FilterMode filterMode = FilterMode.Point, bool powerOfTwoPadding = false, string name = "", bool useMipMap = true)
Parameters
Type | Name | Description |
---|---|---|
int | width | Width of the atlas in pixels. |
int | height | Height of atlas in pixels. |
GraphicsFormat | format | GraphicsFormat of the atlas. |
FilterMode | filterMode | Filtering mode of the atlas. |
bool | powerOfTwoPadding | Power of two padding. |
string | name | Name of the atlas |
bool | useMipMap | Use mip maps |