기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetCompatibleFormat

Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

GetCompatibleFormat(GraphicsFormat, FormatUsage)

Obsolete. Use the overload with a GraphicsFormatUsage parameter instead.
경고
Deprecated. Use overload with a GraphicsFormatUsage parameter instead
public static GraphicsFormat GetCompatibleFormat(GraphicsFormat format, FormatUsage usage)

Parameters

Returns

Type

Description

GraphicsFormat

GetCompatibleFormat(GraphicsFormat, GraphicsFormatUsage)

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

Parameters

Returns

Type

Description

GraphicsFormat