Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Set this to true if you want texture data to be readable from scripts. Set it to false to prevent scripts from reading texture data.
In order for Texture2D.GetPixel, Texture2D.GetPixels and similar functions
to work, the Texture must be readable from scripts. The
isReadable setting determines whether scripts can access texture data through these functions.
Textures are not set as readable by default.
When a Texture is not readable, it consumes much less memory because an uncompressed copy of the texture data in system memory is not required after the texture is uploaded to the graphics API. Readable Textures require an uncompressed system memory copy of the texture data so that once edited, the updated texture data can be uploaded to the graphics API.
Did you find this page useful? Please give it a rating: