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