docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ForwardLights

    Computes and submits lighting data to the GPU.

    Inheritance
    object
    ForwardLights
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal.Internal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public class ForwardLights

    Constructors

    ForwardLights()

    Creates a new ForwardLights instance.

    Declaration
    public ForwardLights()

    Methods

    Setup(ScriptableRenderContext, ref RenderingData)

    Sets up the keywords and data for forward lighting.

    Declaration
    public void Setup(ScriptableRenderContext context, ref RenderingData renderingData)
    Parameters
    Type Name Description
    ScriptableRenderContext context
    RenderingData renderingData
    In This Article
    Back to top
    Copyright © 2024 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)