GetSwizzleG
Returns a FormatSwizzle enum that is mapped to the green channel for a given format.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
GetSwizzleG(GraphicsFormat)
Returns a FormatSwizzle enum that is mapped to the green channel for a given format.
public static FormatSwizzle GetSwizzleG(GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| FormatSwizzle |
GetSwizzleG(TextureFormat)
Returns a FormatSwizzle enum that is mapped to the green channel for a given format.
public static FormatSwizzle GetSwizzleG(TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| FormatSwizzle |