Class ShadowRegistry | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShadowRegistry

    Inheritance
    System.Object
    ShadowRegistry
    ShadowManagerBase
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public class ShadowRegistry

    Constructors

    ShadowRegistry()

    Declaration
    public ShadowRegistry()

    Methods

    ClearRegistry()

    Declaration
    public void ClearRegistry()

    Draw(Light)

    Declaration
    public void Draw(Light l)
    Parameters
    Type Name Description
    Light l

    GetShadowLightType(Light)

    Declaration
    public GPUShadowType GetShadowLightType(Light l)
    Parameters
    Type Name Description
    Light l
    Returns
    Type Description
    GPUShadowType

    Register(GPUShadowType, ShadowPrecision, ShadowAlgorithm, String, ShadowVariant[], String[], ShadowRegistry.VariantDelegate[])

    Declaration
    public void Register(GPUShadowType type, ShadowPrecision precision, ShadowAlgorithm algorithm, string algorithmDescriptor, ShadowVariant[] variants, string[] variantDescriptors, ShadowRegistry.VariantDelegate[] variantDelegates)
    Parameters
    Type Name Description
    GPUShadowType type
    ShadowPrecision precision
    ShadowAlgorithm algorithm
    System.String algorithmDescriptor
    ShadowVariant[] variants
    System.String[] variantDescriptors
    ShadowRegistry.VariantDelegate[] variantDelegates

    SetGlobalShadowOverride(GPUShadowType, ShadowAlgorithm, ShadowVariant, ShadowPrecision, Boolean)

    Declaration
    public void SetGlobalShadowOverride(GPUShadowType shadowType, ShadowAlgorithm shadowAlgorithm, ShadowVariant shadowVariant, ShadowPrecision shadowPrecision, bool enable)
    Parameters
    Type Name Description
    GPUShadowType shadowType
    ShadowAlgorithm shadowAlgorithm
    ShadowVariant shadowVariant
    ShadowPrecision shadowPrecision
    System.Boolean enable

    SetShadowLightTypeDelegate(ShadowRegistry.ShadowLightTypeDelegate)

    Declaration
    public void SetShadowLightTypeDelegate(ShadowRegistry.ShadowLightTypeDelegate del)
    Parameters
    Type Name Description
    ShadowRegistry.ShadowLightTypeDelegate del

    ShadowLightType(Light)

    Declaration
    public static GPUShadowType ShadowLightType(Light l)
    Parameters
    Type Name Description
    Light l
    Returns
    Type Description
    GPUShadowType
    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