Class TextureCache2D
Inheritance
TextureCache2D
Syntax
public class TextureCache2D : TextureCache
Constructors
TextureCache2D(String)
Declaration
public TextureCache2D(string cacheName = "")
Parameters
Type |
Name |
Description |
String |
cacheName |
|
Methods
AllocTextureArray(Int32, Int32, Int32, TextureFormat, Boolean)
Declaration
public bool AllocTextureArray(int numTextures, int width, int height, TextureFormat format, bool isMipMapped)
Parameters
Returns
GetTexCache()
Declaration
public override Texture GetTexCache()
Returns
Overrides
Release()
Declaration
TransferToSlice(CommandBuffer, Int32, Texture[])
Declaration
protected override bool TransferToSlice(CommandBuffer cmd, int sliceIndex, Texture[] textureArray)
Parameters
Type |
Name |
Description |
CommandBuffer |
cmd |
|
Int32 |
sliceIndex |
|
Texture[] |
textureArray |
|
Returns
Overrides