Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Texture2D.format

public TextureFormat format;

Description

The format of the pixel data in the texture (Read Only).

Use this to determine the format of the texture.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答