Class Texture
Assembly: UnityEngine.dll
Syntax
public class Texture : Object
Constructors
|
Improve this Doc
View Source
Texture()
Declaration
Properties
anisoLevel
Declaration
public int anisoLevel { get; set; }
Property Value
anisotropicFiltering
Declaration
public static AnisotropicFiltering anisotropicFiltering { get; set; }
Property Value
currentTextureMemory
Declaration
public static ulong currentTextureMemory { get; }
Property Value
desiredTextureMemory
Declaration
public static ulong desiredTextureMemory { get; }
Property Value
|
Improve this Doc
View Source
dimension
Declaration
public virtual TextureDimension dimension { get; set; }
Property Value
filterMode
Declaration
public FilterMode filterMode { get; set; }
Property Value
|
Improve this Doc
View Source
height
Declaration
public virtual int height { get; set; }
Property Value
imageContentsHash
Declaration
public Hash128 imageContentsHash { get; set; }
Property Value
isReadable
Declaration
public virtual bool isReadable { get; }
Property Value
masterTextureLimit
Declaration
public static int masterTextureLimit { get; set; }
Property Value
mipMapBias
Declaration
public float mipMapBias { get; set; }
Property Value
nonStreamingTextureCount
Declaration
public static ulong nonStreamingTextureCount { get; }
Property Value
nonStreamingTextureMemory
Declaration
public static ulong nonStreamingTextureMemory { get; }
Property Value
streamingMipmapUploadCount
Declaration
public static ulong streamingMipmapUploadCount { get; }
Property Value
streamingRendererCount
Declaration
public static ulong streamingRendererCount { get; }
Property Value
streamingTextureCount
Declaration
public static ulong streamingTextureCount { get; }
Property Value
streamingTextureDiscardUnusedMips
Declaration
public static bool streamingTextureDiscardUnusedMips { get; set; }
Property Value
streamingTextureForceLoadAll
Declaration
public static bool streamingTextureForceLoadAll { get; set; }
Property Value
streamingTextureLoadingCount
Declaration
public static ulong streamingTextureLoadingCount { get; }
Property Value
streamingTexturePendingLoadCount
Declaration
public static ulong streamingTexturePendingLoadCount { get; }
Property Value
targetTextureMemory
Declaration
public static ulong targetTextureMemory { get; }
Property Value
texelSize
Declaration
public Vector2 texelSize { get; }
Property Value
totalTextureMemory
Declaration
public static ulong totalTextureMemory { get; }
Property Value
updateCount
Declaration
public uint updateCount { get; }
Property Value
|
Improve this Doc
View Source
width
Declaration
public virtual int width { get; set; }
Property Value
wrapMode
Declaration
public TextureWrapMode wrapMode { get; set; }
Property Value
wrapModeU
Declaration
public TextureWrapMode wrapModeU { get; set; }
Property Value
wrapModeV
Declaration
public TextureWrapMode wrapModeV { get; set; }
Property Value
wrapModeW
Declaration
public TextureWrapMode wrapModeW { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetNativeTextureID()
Declaration
[Obsolete("Use GetNativeTexturePtr instead.", false)]
public int GetNativeTextureID()
Returns
GetNativeTexturePtr()
Declaration
public IntPtr GetNativeTexturePtr()
Returns
IncrementUpdateCount()
Declaration
public void IncrementUpdateCount()
SetGlobalAnisotropicFilteringLimits(Int32, Int32)
Declaration
public static void SetGlobalAnisotropicFilteringLimits(int forcedMin, int globalMax)
Parameters
Type |
Name |
Description |
Int32 |
forcedMin |
|
Int32 |
globalMax |
|
SetStreamingTextureMaterialDebugProperties()
Declaration
public static void SetStreamingTextureMaterialDebugProperties()
Extension Methods