Method GetRenderTargetAutoName
GetRenderTargetAutoName(int, int, int, RenderTextureFormat, string, bool, bool, MSAASamples)
Generate a name based on render texture parameters.
Declaration
public static string GetRenderTargetAutoName(int width, int height, int depth, RenderTextureFormat format, string name, bool mips = false, bool enableMSAA = false, MSAASamples msaaSamples = MSAASamples.None)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | With of the texture. |
| int | height | Height of the texture. |
| int | depth | Depth of the texture. |
| RenderTextureFormat | format | Format of the render texture. |
| string | name | Base name of the texture. |
| bool | mips | True if the texture has mip maps. |
| bool | enableMSAA | True if the texture is multisampled. |
| MSAASamples | msaaSamples | Number of MSAA samples. |
Returns
| Type | Description |
|---|---|
| string | Generated names bassed on the provided parameters. |
GetRenderTargetAutoName(int, int, int, GraphicsFormat, string, bool, bool, MSAASamples)
Generate a name based on render texture parameters.
Declaration
public static string GetRenderTargetAutoName(int width, int height, int depth, GraphicsFormat format, string name, bool mips = false, bool enableMSAA = false, MSAASamples msaaSamples = MSAASamples.None)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | With of the texture. |
| int | height | Height of the texture. |
| int | depth | Depth of the texture. |
| GraphicsFormat | format | Graphics format of the render texture. |
| string | name | Base name of the texture. |
| bool | mips | True if the texture has mip maps. |
| bool | enableMSAA | True if the texture is multisampled. |
| MSAASamples | msaaSamples | Number of MSAA samples. |
Returns
| Type | Description |
|---|---|
| string | Generated names bassed on the provided parameters. |
GetRenderTargetAutoName(int, int, int, GraphicsFormat, TextureDimension, string, bool, bool, MSAASamples, bool)
Generate a name based on render texture parameters.
Declaration
public static string GetRenderTargetAutoName(int width, int height, int depth, GraphicsFormat format, TextureDimension dim, string name, bool mips = false, bool enableMSAA = false, MSAASamples msaaSamples = MSAASamples.None, bool dynamicRes = false)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | With of the texture. |
| int | height | Height of the texture. |
| int | depth | Depth of the texture. |
| GraphicsFormat | format | Graphics format of the render texture. |
| TextureDimension | dim | Dimension of the texture. |
| string | name | Base name of the texture. |
| bool | mips | True if the texture has mip maps. |
| bool | enableMSAA | True if the texture is multisampled. |
| MSAASamples | msaaSamples | Number of MSAA samples. |
| bool | dynamicRes | True if the texture uses dynamic resolution. |
Returns
| Type | Description |
|---|---|
| string | Generated names bassed on the provided parameters. |