Class TextureFormatUtils
Inheritance
TextureFormatUtils
Syntax
public class TextureFormatUtils
Methods
FormatToChannelMask(Texture)
Declaration
public static Color FormatToChannelMask(Texture tex)
Parameters
Type |
Name |
Description |
Texture |
tex |
|
Returns
FormatToChannelMask(Texture, Int32)
Declaration
public static Color FormatToChannelMask(Texture tex, int interpretPixelAsChannels)
Parameters
Type |
Name |
Description |
Texture |
tex |
|
Int32 |
interpretPixelAsChannels |
|
Returns
IsAlphaOnly(Texture)
Declaration
public static bool IsAlphaOnly(Texture tex)
Parameters
Type |
Name |
Description |
Texture |
tex |
|
Returns
IsRedGreen(RenderTextureFormat)
Declaration
public static bool IsRedGreen(RenderTextureFormat format)
Parameters
Type |
Name |
Description |
RenderTextureFormat |
format |
|
Returns
IsRedGreen(Texture)
Declaration
public static bool IsRedGreen(Texture tex)
Parameters
Type |
Name |
Description |
Texture |
tex |
|
Returns
IsRedGreen(TextureFormat)
Declaration
public static bool IsRedGreen(TextureFormat format)
Parameters
Type |
Name |
Description |
TextureFormat |
format |
|
Returns
IsRedOnly(RenderTextureFormat)
Declaration
public static bool IsRedOnly(RenderTextureFormat format)
Parameters
Type |
Name |
Description |
RenderTextureFormat |
format |
|
Returns
IsRedOnly(Texture)
Declaration
public static bool IsRedOnly(Texture tex)
Parameters
Type |
Name |
Description |
Texture |
tex |
|
Returns
IsRedOnly(TextureFormat)
Declaration
public static bool IsRedOnly(TextureFormat format)
Parameters
Type |
Name |
Description |
TextureFormat |
format |
|
Returns