Class LightweightRenderPipeline | Lightweight RP | 6.9.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class LightweightRenderPipeline

    Inheritance
    Object
    LightweightRenderPipeline
    Namespace: UnityEngine.Rendering.LWRP
    Syntax
    public sealed class LightweightRenderPipeline : RenderPipeline

    Constructors

    LightweightRenderPipeline(LightweightRenderPipelineAsset)

    Declaration
    public LightweightRenderPipeline(LightweightRenderPipelineAsset asset)
    Parameters
    Type Name Description
    LightweightRenderPipelineAsset asset

    Fields

    k_ShaderTagName

    Declaration
    public const string k_ShaderTagName = "LightweightPipeline"
    Field Value
    Type Description
    String

    Properties

    asset

    Declaration
    public static LightweightRenderPipelineAsset asset { get; }
    Property Value
    Type Description
    LightweightRenderPipelineAsset

    maxPerObjectLights

    Declaration
    public static int maxPerObjectLights { get; }
    Property Value
    Type Description
    Int32

    maxRenderScale

    Declaration
    public static float maxRenderScale { get; }
    Property Value
    Type Description
    Single

    maxShadowBias

    Declaration
    public static float maxShadowBias { get; }
    Property Value
    Type Description
    Single

    maxVisibleAdditionalLights

    Declaration
    public static int maxVisibleAdditionalLights { get; }
    Property Value
    Type Description
    Int32

    minRenderScale

    Declaration
    public static float minRenderScale { get; }
    Property Value
    Type Description
    Single

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    IsStereoEnabled(Camera)

    Declaration
    public static bool IsStereoEnabled(Camera camera)
    Parameters
    Type Name Description
    Camera camera
    Returns
    Type Description
    Boolean

    Render(ScriptableRenderContext, Camera[])

    Declaration
    protected override void Render(ScriptableRenderContext renderContext, Camera[] cameras)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    Camera[] cameras

    RenderSingleCamera(ScriptableRenderContext, Camera)

    Declaration
    public static void RenderSingleCamera(ScriptableRenderContext context, Camera camera)
    Parameters
    Type Name Description
    ScriptableRenderContext context
    Camera camera
    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