Class TextureCacheCubemap | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureCacheCubemap

    Inheritance
    Object
    TextureCache
    TextureCacheCubemap
    Inherited Members
    TextureCache.m_CacheName
    TextureCache.m_NumMipLevels
    TextureCache.m_SliceSize
    TextureCache.k_FP16SizeInByte
    TextureCache.k_NbChannel
    TextureCache.k_MipmapFactorApprox
    TextureCache.GetCacheName()
    TextureCache.GetNumMipLevels()
    TextureCache.AllocTextureArray(Int32)
    TextureCache.GetTextureHash(Texture)
    TextureCache.ReserveSlice(Texture, Boolean)
    TextureCache.UpdateSlice(CommandBuffer, Int32, Texture[], UInt32)
    TextureCache.UpdateSlice(CommandBuffer, Int32, Texture, UInt32)
    TextureCache.SetSliceHash(Int32, UInt32)
    TextureCache.FetchSlice(CommandBuffer, Texture, Boolean)
    TextureCache.NewFrame()
    TextureCache.RemoveEntryFromSlice(Texture)
    TextureCache.GetNumMips(Int32, Int32)
    TextureCache.GetNumMips(Int32)
    TextureCache.isMobileBuildTarget
    TextureCache.GetPreferredHDRCompressedTextureFormat
    TextureCache.supportsCubemapArrayTextures
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public class TextureCacheCubemap : TextureCache

    Constructors

    TextureCacheCubemap(String, Int32)

    Declaration
    public TextureCacheCubemap(string cacheName = "", int sliceSize = 1)
    Parameters
    Type Name Description
    String cacheName
    Int32 sliceSize

    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
    Type Description
    Boolean

    GetTexCache()

    Declaration
    public override Texture GetTexCache()
    Returns
    Type Description
    Texture
    Overrides
    TextureCache.GetTexCache()

    Release()

    Declaration
    public void Release()

    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
    Type Description
    Boolean
    Overrides
    TextureCache.TransferToSlice(CommandBuffer, Int32, Texture[])
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023