Class TextureCacheCubemap
Inheritance
TextureCacheCubemap
Syntax
public class TextureCacheCubemap : TextureCache
Constructors
TextureCacheCubemap(String, Int32)
Declaration
public TextureCacheCubemap(string cacheName = "", int sliceSize = 1)
Parameters
Methods
AllocTextureArray(Int32, Int32, TextureFormat, Boolean, Material)
Declaration
public bool AllocTextureArray(int numCubeMaps, int width, TextureFormat format, bool isMipMapped, Material cubeBlitMaterial)
Parameters
| Type |
Name |
Description |
| Int32 |
numCubeMaps |
|
| Int32 |
width |
|
| TextureFormat |
format |
|
| Boolean |
isMipMapped |
|
| Material |
cubeBlitMaterial |
|
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