Class Texture2DArray
Inheritance
Texture2DArray
Assembly: UnityEngine.dll
Syntax
public sealed class Texture2DArray : Texture
Constructors
|
Improve this Doc
View Source
Texture2DArray(Int32, Int32, Int32, GraphicsFormat, TextureCreationFlags)
Declaration
public Texture2DArray(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags)
Parameters
|
Improve this Doc
View Source
Texture2DArray(Int32, Int32, Int32, TextureFormat, Boolean)
Declaration
public Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain)
Parameters
|
Improve this Doc
View Source
Texture2DArray(Int32, Int32, Int32, TextureFormat, Boolean, Boolean)
Declaration
public Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, [DefaultValue("false")] bool linear)
Parameters
Properties
depth
Declaration
public int depth { get; }
Property Value
format
Declaration
public TextureFormat format { get; }
Property Value
isReadable
Declaration
public override bool isReadable { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Apply()
Declaration
|
Improve this Doc
View Source
Apply(Boolean)
Declaration
public void Apply(bool updateMipmaps)
Parameters
Type |
Name |
Description |
Boolean |
updateMipmaps |
|
|
Improve this Doc
View Source
Apply(Boolean, Boolean)
Declaration
public void Apply([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable)
Parameters
Type |
Name |
Description |
Boolean |
updateMipmaps |
|
Boolean |
makeNoLongerReadable |
|
|
Improve this Doc
View Source
GetPixels(Int32)
Declaration
public Color[] GetPixels(int arrayElement)
Parameters
Type |
Name |
Description |
Int32 |
arrayElement |
|
Returns
GetPixels(Int32, Int32)
Declaration
public Color[] GetPixels(int arrayElement, int miplevel)
Parameters
Type |
Name |
Description |
Int32 |
arrayElement |
|
Int32 |
miplevel |
|
Returns
|
Improve this Doc
View Source
GetPixels32(Int32)
Declaration
public Color32[] GetPixels32(int arrayElement)
Parameters
Type |
Name |
Description |
Int32 |
arrayElement |
|
Returns
GetPixels32(Int32, Int32)
Declaration
public Color32[] GetPixels32(int arrayElement, int miplevel)
Parameters
Type |
Name |
Description |
Int32 |
arrayElement |
|
Int32 |
miplevel |
|
Returns
|
Improve this Doc
View Source
SetPixels(Color[], Int32)
Declaration
public void SetPixels(Color[] colors, int arrayElement)
Parameters
Type |
Name |
Description |
Color[] |
colors |
|
Int32 |
arrayElement |
|
SetPixels(Color[], Int32, Int32)
Declaration
public void SetPixels(Color[] colors, int arrayElement, int miplevel)
Parameters
|
Improve this Doc
View Source
SetPixels32(Color32[], Int32)
Declaration
public void SetPixels32(Color32[] colors, int arrayElement)
Parameters
SetPixels32(Color32[], Int32, Int32)
Declaration
public void SetPixels32(Color32[] colors, int arrayElement, int miplevel)
Parameters
Extension Methods