IsFormatSupported
Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
IsFormatSupported(GraphicsFormat, FormatUsage)
Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
public static bool IsFormatSupported(GraphicsFormat format, FormatUsage usage)
Parameters
Returns
Type | Description |
|---|---|
| bool |
IsFormatSupported(GraphicsFormat, GraphicsFormatUsage)
Verifies that the specified graphics format is supported for the specified usage.
public static bool IsFormatSupported(GraphicsFormat format, GraphicsFormatUsage usage)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if the format is supported for the specific usage. Returns false otherwise. |
Remarks
If a specific usage is not supported by a format, the operation will fail.
Additional Resources: GraphicsFormat enum and GraphicsFormatUsage flags.