Method GetBlitMaterial
GetBlitMaterial(TextureDimension, bool)
Returns the default blit material.
Declaration
public static Material GetBlitMaterial(TextureDimension dimension, bool singleSlice = false)
Parameters
Type | Name | Description |
---|---|---|
TextureDimension | dimension | Dimension of the texture to blit, either 2D or 2D Array. |
bool | singleSlice | Blit only a single slice of the array if applicable. |
Returns
Type | Description |
---|---|
Material |