Method GetApproxCacheSizeInByte
GetApproxCacheSizeInByte(int, int, bool, GraphicsFormat)
Get cache size in bytes.
Declaration
public static long GetApproxCacheSizeInByte(int nbElement, int resolution, bool hasMipmap, GraphicsFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| int | nbElement | |
| int | resolution | Atlas resolution (square). |
| bool | hasMipmap | Atlas uses mip maps. |
| GraphicsFormat | format | Atlas format. |
Returns
| Type | Description |
|---|---|
| long |