Method ReserveSpace
ReserveSpace(Texture)
Reserves the space on the texture atlas
Declaration
public bool ReserveSpace(Texture texture)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | The source texture |
Returns
| Type | Description |
|---|---|
| bool | True if the space is reserved |
ReserveSpace(Texture, int, int)
Reserves the space on the texture atlas
Declaration
public bool ReserveSpace(Texture texture, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | The source texture |
| int | width | The width |
| int | height | The height |
Returns
| Type | Description |
|---|---|
| bool | True if the space is reserved |
ReserveSpace(Texture, Texture, int, int)
Reserves the space on the texture atlas
Declaration
public bool ReserveSpace(Texture textureA, Texture textureB, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | textureA | The source texture A |
| Texture | textureB | The source texture B |
| int | width | The width |
| int | height | The height |
Returns
| Type | Description |
|---|---|
| bool | True if the space is reserved |