Class TextureCacheCubemap
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Rendering
Syntax
public class TextureCacheCubemap : TextureCache
Constructors
TextureCacheCubemap(String)
Declaration
public TextureCacheCubemap(string cacheName = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName |
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 |
---|---|---|
System.Int32 | numCubeMaps | |
System.Int32 | width | |
TextureFormat | format | |
System.Boolean | isMipMapped | |
Material | cubeBlitMaterial |
Returns
Type | Description |
---|---|
System.Boolean |
GetTexCache()
Declaration
public override Texture GetTexCache()
Returns
Type | Description |
---|---|
Texture |
Overrides
Release()
Declaration
public void Release()
TransferToSlice(CommandBuffer, Int32, Texture)
Declaration
public override void TransferToSlice(CommandBuffer cmd, int sliceIndex, Texture texture)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | |
System.Int32 | sliceIndex | |
Texture | texture |