isReadable
Whether Unity stores an additional copy of the imported texture's pixel data in CPU-addressable memory.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public bool isReadable { get; set; }
Remarks
By default, this is . Set this to only if you want to use the texture with methods that read, write, and manipulate the pixel data on the CPU, such as Texture2D.GetPixels or ImageConversion.EncodeToPNG.
falsetrueFor more information, see Texture.isReadable.
This corresponds to the Read/Write Enabled setting in the Texture Import Settings.