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.
Closewidth | Texture width in pixels. |
height | Texture height in pixels. |
format | Texture format. |
mipCount | Mipmap count. Pass -1 to create full mipmap chain. |
linear | Whether texture data will be in linear or sRGB color space (default is sRGB). |
Create a sparse texture.
See SparseTexture.