Method NeedsUpdate
NeedsUpdate(Texture, bool)
Check if contents of a texture needs to be updated in the atlas.
Declaration
public virtual bool NeedsUpdate(Texture texture, bool needMips = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | Source texture. |
| bool | needMips | Texture uses mips. |
Returns
| Type | Description |
|---|---|
| bool | True if texture needs update, false otherwise. |
NeedsUpdate(Texture, Texture, bool)
Check if contents of a texture needs to be updated in the atlas.
Declaration
public virtual bool NeedsUpdate(Texture textureA, Texture textureB, bool needMips = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | textureA | Source texture A. |
| Texture | textureB | Source texture B. |
| bool | needMips | Texture uses mips. |
Returns
| Type | Description |
|---|---|
| bool | True if texture needs update, false otherwise. |