文档

Unity Engine

Unity Engine

IsFormatSupported

Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
阅读时间1 分钟最后更新于 1 个月前

Definition

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)

This has the same functionality as SystemInfo.IsFormatSupported and also mimics platform-specific behavior in the Unity Editor.
public static bool IsFormatSupported(GraphicsFormat format, GraphicsFormatUsage usage)

Parameters

Returns

Type

Description

bool