기술 자료

Unity Engine

Unity Engine

SupportsTextureFormat(TextureFormat)

Is texture format supported on this device?
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool SupportsTextureFormat(TextureFormat format)

Parameters

The TextureFormat format to look up.

Returns

Type

Description

boolTrue if the format is supported.

Remarks

It is good practice to check that the device supports a texture format before using it.
Additional Resources: TextureFormat enum.