Method GetTextureOutputFromChannelMask
GetTextureOutputFromChannelMask(Vector4)
Convert the channel mask to a texture output name
Declaration
public static string GetTextureOutputFromChannelMask(Vector4 channelMask)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | channelMask | The input mask with 1 of 4 channels non-zero |
Returns
Type | Description |
---|---|
string | The texture output name as a string |