GetSwizzleA
Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
GetSwizzleA(GraphicsFormat)
Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.
public static FormatSwizzle GetSwizzleA(GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| FormatSwizzle |
GetSwizzleA(TextureFormat)
Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.
public static FormatSwizzle GetSwizzleA(TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| FormatSwizzle |