ドキュメント

Unity Engine

Unity Engine

IsFormatSupported

Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

IsFormatSupported(GraphicsFormat, FormatUsage)

Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
注意
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.