docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VrsLut

    Variable rate shading lookup table. Use to convert shading rate fragment size and color back and forth.

    Inheritance
    object
    VrsLut
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    public class VrsLut

    Properties

    this[ShadingRateFragmentSize]

    Indexing data with ShadingRateFragmentSize enum.

    Declaration
    public Color this[ShadingRateFragmentSize fragmentSize] { get; set; }
    Parameters
    Type Name Description
    ShadingRateFragmentSize fragmentSize

    Shading rate fragment size to set/get

    Property Value
    Type Description
    Color

    Methods

    CreateBuffer(bool)

    Create a compute buffer from the lookup table.

    Declaration
    public GraphicsBuffer CreateBuffer(bool forVisualization = false)
    Parameters
    Type Name Description
    bool forVisualization

    If true, the buffer will be created with the visualization shader in mind

    Returns
    Type Description
    GraphicsBuffer

    Graphics buffer representing this lookup table

    CreateDefault()

    Get a new instance of default VrsLut

    Declaration
    public static VrsLut CreateDefault()
    Returns
    Type Description
    VrsLut

    New instance of default VrsLut

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)