SupportsTextureFormat(TextureFormat)
Is texture format supported on this device?
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool SupportsTextureFormat(TextureFormat format)
Parameters
The TextureFormat format to look up.
Returns
Type | Description |
|---|---|
| bool | True if the format is supported. |
Remarks
It is good practice to check that the device supports a texture format before using it.
Additional Resources: TextureFormat enum.