IsAlphaOnlyFormat
Returns true if the format only has an alpha component. Returns false otherwise.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
IsAlphaOnlyFormat(GraphicsFormat)
Returns true if the format only has an alpha component. Returns false otherwise.
public static bool IsAlphaOnlyFormat(GraphicsFormat format)
Parameters
Returns
Type | Description |
|---|---|
| bool |
IsAlphaOnlyFormat(TextureFormat)
Returns true if the format only has an alpha component. Returns false otherwise.
public static bool IsAlphaOnlyFormat(TextureFormat format)
Parameters
Returns
Type | Description |
|---|---|
| bool |