GetSwizzleB
Returns a FormatSwizzle enum that is mapped to the blue channel for a given format.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
GetSwizzleB(GraphicsFormat)
Returns a FormatSwizzle enum that is mapped to the blue channel for a given format.
public static FormatSwizzle GetSwizzleB(GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| FormatSwizzle |
GetSwizzleB(TextureFormat)
Returns a FormatSwizzle enum that is mapped to the blue channel for a given format.
public static FormatSwizzle GetSwizzleB(TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| FormatSwizzle |