Class LTCAreaLight | High Definition RP | 6.7.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class LTCAreaLight

    Inheritance
    Object
    LTCAreaLight
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public class LTCAreaLight

    Fields

    k_LtcLUTMatrixDim

    Declaration
    public const int k_LtcLUTMatrixDim = 3
    Field Value
    Type Description
    Int32

    k_LtcLUTResolution

    Declaration
    public const int k_LtcLUTResolution = 64
    Field Value
    Type Description
    Int32

    s_LtcDisneyDiffuseMatrixData

    Declaration
    public static double[, ] s_LtcDisneyDiffuseMatrixData
    Field Value
    Type Description
    Double[,]

    s_LtcGGXMatrixData

    Declaration
    public static double[, ] s_LtcGGXMatrixData
    Field Value
    Type Description
    Double[,]

    s_LtcMatrixData_GGX

    Declaration
    public static double[, ] s_LtcMatrixData_GGX
    Field Value
    Type Description
    Double[,]

    Properties

    instance

    Declaration
    public static LTCAreaLight instance { get; }
    Property Value
    Type Description
    LTCAreaLight

    Methods

    Bind(CommandBuffer)

    Declaration
    public void Bind(CommandBuffer cmd)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Build()

    Declaration
    public void Build()

    Cleanup()

    Declaration
    public void Cleanup()

    LoadLUT(Texture2DArray, Int32, TextureFormat, Double[,])

    Declaration
    public static void LoadLUT(Texture2DArray tex, int arrayElement, TextureFormat format, double[, ] LUTTransformInv)
    Parameters
    Type Name Description
    Texture2DArray tex
    Int32 arrayElement
    TextureFormat format
    Double[,] LUTTransformInv

    LoadLUT(Texture2DArray, Int32, TextureFormat, Single[])

    Declaration
    public static void LoadLUT(Texture2DArray tex, int arrayElement, TextureFormat format, float[] LUTScalar)
    Parameters
    Type Name Description
    Texture2DArray tex
    Int32 arrayElement
    TextureFormat format
    Single[] LUTScalar
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX