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