DownloadedTextureFlags
Flags to be set in DownloadedTextureParams to indicate properties of the texture that will be created.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestTextureModule
[Flags]public enum DownloadedTextureFlags : uint
Remarks
These flags should be combined using bitwise-or operator.
Fields
Value | Description |
|---|---|
| LinearColorSpace | Indicates that a texture using linear color space must be created. |
| MipmapChain | Indicates that created texture must have mipmaps (multiple versions of different quality of the same texture). More efficient, but uses more memory. |
| None | Special value indicating that none of the other options are being used. |
| Readable | Indicates that created texture must be readable. Allows reading values of texture pixels, but increases memory usage. |