Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Warning
Deprecated. Use 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

The GraphicsFormat format to look up.

The GraphicsFormatUsage usage to look up.

Returns

Type

Description

boolReturns 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.