Texture
class in UnityEngine · UnityEngine.CoreModule · inherits from Object
Base class for textures: size and sampling settings.
Properties 15
int anisoLevel { get; set; }virtual UnityEngine.Rendering.TextureDimension dimension { get; }FilterMode filterMode { get; set; }Experimental.Rendering.GraphicsFormat graphicsFormat { get; }The texture's format as a GraphicsFormat (color formats sRGB unless the data is linear).
virtual int height { get; set; }virtual bool isDataSRGB { get; }Whether the pixels are color (sampled with sRGB decoding) rather than linear data.
virtual bool isReadable { get; }float mipMapBias { get; set; }virtual int mipmapCount { get; }Vector2 texelSize { get; }virtual int width { get; set; }TextureWrapMode wrapMode { get; set; }Sets all three axes; reads U.
TextureWrapMode wrapModeU { get; set; }TextureWrapMode wrapModeV { get; set; }TextureWrapMode wrapModeW { get; set; }Not in Tassix yet 23
GenerateAllMips GetNativeTexturePtr IncrementUpdateCount SetGlobalAnisotropicFilteringLimits SetStreamingTextureMaterialDebugProperties allowThreadedTextureCreation anisotropicFiltering currentTextureMemory desiredTextureMemory graphicsTexture imageContentsHash nonStreamingTextureCount nonStreamingTextureMemory streamingMipmapUploadCount streamingRendererCount streamingTextureCount streamingTextureDiscardUnusedMips streamingTextureForceLoadAll streamingTextureLoadingCount streamingTexturePendingLoadCount targetTextureMemory totalTextureMemory updateCount