Show / Hide Table of Contents

Class Texture

Inheritance
Object
Object
Texture
Cubemap
CubemapArray
MovieTexture
ProceduralTexture
RenderTexture
SparseTexture
Texture2D
Texture2DArray
Texture3D
WebCamTexture
Inherited Members
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class Texture : Object

Constructors

| Improve this Doc View Source

Texture()

Declaration
protected Texture()

Properties

anisoLevel

Declaration
public int anisoLevel { get; set; }
Property Value
Type Description
Int32

anisotropicFiltering

Declaration
public static AnisotropicFiltering anisotropicFiltering { get; set; }
Property Value
Type Description
AnisotropicFiltering

currentTextureMemory

Declaration
public static ulong currentTextureMemory { get; }
Property Value
Type Description
UInt64

desiredTextureMemory

Declaration
public static ulong desiredTextureMemory { get; }
Property Value
Type Description
UInt64
| Improve this Doc View Source

dimension

Declaration
public virtual TextureDimension dimension { get; set; }
Property Value
Type Description
TextureDimension

filterMode

Declaration
public FilterMode filterMode { get; set; }
Property Value
Type Description
FilterMode
| Improve this Doc View Source

height

Declaration
public virtual int height { get; set; }
Property Value
Type Description
Int32

imageContentsHash

Declaration
public Hash128 imageContentsHash { get; set; }
Property Value
Type Description
Hash128

isReadable

Declaration
public virtual bool isReadable { get; }
Property Value
Type Description
Boolean

masterTextureLimit

Declaration
public static int masterTextureLimit { get; set; }
Property Value
Type Description
Int32

mipMapBias

Declaration
public float mipMapBias { get; set; }
Property Value
Type Description
Single

nonStreamingTextureCount

Declaration
public static ulong nonStreamingTextureCount { get; }
Property Value
Type Description
UInt64

nonStreamingTextureMemory

Declaration
public static ulong nonStreamingTextureMemory { get; }
Property Value
Type Description
UInt64

streamingMipmapUploadCount

Declaration
public static ulong streamingMipmapUploadCount { get; }
Property Value
Type Description
UInt64

streamingRendererCount

Declaration
public static ulong streamingRendererCount { get; }
Property Value
Type Description
UInt64

streamingTextureCount

Declaration
public static ulong streamingTextureCount { get; }
Property Value
Type Description
UInt64

streamingTextureDiscardUnusedMips

Declaration
public static bool streamingTextureDiscardUnusedMips { get; set; }
Property Value
Type Description
Boolean

streamingTextureForceLoadAll

Declaration
public static bool streamingTextureForceLoadAll { get; set; }
Property Value
Type Description
Boolean

streamingTextureLoadingCount

Declaration
public static ulong streamingTextureLoadingCount { get; }
Property Value
Type Description
UInt64

streamingTexturePendingLoadCount

Declaration
public static ulong streamingTexturePendingLoadCount { get; }
Property Value
Type Description
UInt64

targetTextureMemory

Declaration
public static ulong targetTextureMemory { get; }
Property Value
Type Description
UInt64

texelSize

Declaration
public Vector2 texelSize { get; }
Property Value
Type Description
Vector2

totalTextureMemory

Declaration
public static ulong totalTextureMemory { get; }
Property Value
Type Description
UInt64

updateCount

Declaration
public uint updateCount { get; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

width

Declaration
public virtual int width { get; set; }
Property Value
Type Description
Int32

wrapMode

Declaration
public TextureWrapMode wrapMode { get; set; }
Property Value
Type Description
TextureWrapMode

wrapModeU

Declaration
public TextureWrapMode wrapModeU { get; set; }
Property Value
Type Description
TextureWrapMode

wrapModeV

Declaration
public TextureWrapMode wrapModeV { get; set; }
Property Value
Type Description
TextureWrapMode

wrapModeW

Declaration
public TextureWrapMode wrapModeW { get; set; }
Property Value
Type Description
TextureWrapMode

Methods

| Improve this Doc View Source

GetNativeTextureID()

Declaration
[Obsolete("Use GetNativeTexturePtr instead.", false)]
public int GetNativeTextureID()
Returns
Type Description
Int32

GetNativeTexturePtr()

Declaration
public IntPtr GetNativeTexturePtr()
Returns
Type Description
IntPtr

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

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX