


Sets the pixel color at coordinates (x,y). Reinitializes a Texture2D, making it possible for you to replace width, height, textureformat, and graphicsformat data for that texture. Reads pixels from the current render target and writes them to a texture. Packs multiple Textures into a texture atlas. Sets the raw data of an entire texture in CPU memory. Gets the raw data from a texture, as an array that points to memory.Ĭhecks to see whether the mipmap level set by requestedMipmapLevel has finished loading. Gets the pixel color data for a mipmap level as Color32 structs.

Gets the pixel color data for a mipmap level as Color structs. Gets the filtered pixel color at the normalized coordinates (u, v). Gets the pixel color at coordinates (x, y). For additional information, see TextureImporter.vtOnly.Ĭopies changes you've made in a CPU texture to the GPU.Ĭompress texture at runtime to DXT/BCn or ETC formats. Returns true if the VTOnly checkbox was checked when the texture was imported otherwise returns false. Sets the relative priority for this Texture when reducing memory size to fit within the memory budget. Restricts the mipmap streaming system to a minimum mip level for this Texture.ĭetermines whether mipmap streaming is enabled for this Texture. The mipmap level that the mipmap streaming system is in the process of loading. The mipmap level that is currently loaded by the streaming system. This property causes a texture to ignore the QualitySettings.masterTextureLimit. The format of the pixel data in the texture (Read Only). The mipmap level that the streaming system would load before memory budgets are applied. This is unaffected by requestedMipmapLevel or minimumMipmapLevel. The mipmap level calculated by the streaming system, which takes into account the streaming Cameras and the location of the objects containing this Texture. Note that changing this setting will have no effect it must be enabled in TextureImporter instead. This setting is available only in the Editor scripts. Indicates whether this texture was imported with TextureImporter.alphaIsTransparency enabled.
