docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HDComputeThickness

    Class handling the generation of fullscreen thickness

    Inheritance
    object
    HDComputeThickness
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public sealed class HDComputeThickness

    Fields

    Name Description
    computeThicknessMaxLayer

    Max RT of Thickness we can computed in a single frame

    Properties

    Name Description
    Instance

    Current unique instance

    Methods

    Name Description
    GetReindexMap()

    Get a GraphicsBuffer To reindex from LayerIndex to SliceIndex of the TextureArray of Thicknesses.

    GetThicknessTextureArray()

    Return a TextureArrayHandle of thicknesses computed, the slices count are the layer needed.

    SetReindexMap(GraphicsBuffer)

    Set a ComputeBuffer To reindex from LayerIndex to SliceIndex of the TextureArray of Thicknesses.

    SetTextureArray(TextureHandle)

    TextureArray of thicknesses computed.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)