Method GetTextureAutoName
GetTextureAutoName(int, int, TextureFormat, TextureDimension, string, bool, int)
Generate a name based on texture parameters.
Declaration
public static string GetTextureAutoName(int width, int height, TextureFormat format, TextureDimension dim = TextureDimension.None, string name = "", bool mips = false, int depth = 0)
Parameters
| Type | Name | Description | 
|---|---|---|
| int | width | With of the texture.  | 
    
| int | height | Height of the texture.  | 
    
| TextureFormat | format | Format of the texture.  | 
    
| TextureDimension | dim | Dimension of the texture.  | 
    
| string | name | Base name of the texture.  | 
    
| bool | mips | True if the texture has mip maps.  | 
    
| int | depth | Depth of the texture.  | 
    
Returns
| Type | Description | 
|---|---|
| string | Generated names based on the provided parameters.  | 
    
GetTextureAutoName(int, int, GraphicsFormat, TextureDimension, string, bool, int)
Generate a name based on texture parameters.
Declaration
public static string GetTextureAutoName(int width, int height, GraphicsFormat format, TextureDimension dim = TextureDimension.None, string name = "", bool mips = false, int depth = 0)
Parameters
| Type | Name | Description | 
|---|---|---|
| int | width | With of the texture.  | 
    
| int | height | Height of the texture.  | 
    
| GraphicsFormat | format | Graphics format of the texture.  | 
    
| TextureDimension | dim | Dimension of the texture.  | 
    
| string | name | Base name of the texture.  | 
    
| bool | mips | True if the texture has mip maps.  | 
    
| int | depth | Depth of the texture.  | 
    
Returns
| Type | Description | 
|---|---|
| string | Generated names based on the provided parameters.  |