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

    Class LightweightPipeline

    Inheritance
    System.Object
    LightweightPipeline
    Namespace: UnityEngine.Experimental.Rendering.LightweightPipeline
    Syntax
    public class LightweightPipeline : RenderPipeline

    Constructors

    LightweightPipeline(LightweightPipelineAsset)

    Declaration
    public LightweightPipeline(LightweightPipelineAsset asset)
    Parameters
    Type Name Description
    LightweightPipelineAsset asset

    Properties

    fullscreenMesh

    Declaration
    public static Mesh fullscreenMesh { get; }
    Property Value
    Type Description
    Mesh

    pipelineAsset

    Declaration
    public LightweightPipelineAsset pipelineAsset { get; }
    Property Value
    Type Description
    LightweightPipelineAsset

    Methods

    CopyTexture(CommandBuffer, RenderTargetIdentifier, RenderTargetIdentifier, Material)

    Declaration
    public static void CopyTexture(CommandBuffer cmd, RenderTargetIdentifier source, RenderTargetIdentifier dest, Material material)
    Parameters
    Type Name Description
    CommandBuffer cmd
    RenderTargetIdentifier source
    RenderTargetIdentifier dest
    Material material

    Dispose()

    Declaration
    public override void Dispose()

    DrawFullScreen(CommandBuffer, Material, MaterialPropertyBlock, Int32)

    Declaration
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer
    Material material
    MaterialPropertyBlock properties
    System.Int32 shaderPassId

    GetLightCookieMatrix(VisibleLight, out Matrix4x4)

    Declaration
    public static void GetLightCookieMatrix(VisibleLight light, out Matrix4x4 cookieMatrix)
    Parameters
    Type Name Description
    VisibleLight light
    Matrix4x4 cookieMatrix

    GetPipelineCapabilities()

    Declaration
    public static PipelineCapabilities GetPipelineCapabilities()
    Returns
    Type Description
    PipelineCapabilities

    IsStereoEnabled(Camera)

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

    IsSupportedCookieType(LightType)

    Declaration
    public static bool IsSupportedCookieType(LightType lightType)
    Parameters
    Type Name Description
    LightType lightType
    Returns
    Type Description
    System.Boolean

    IsSupportedShadowType(LightType)

    Declaration
    public static bool IsSupportedShadowType(LightType lightType)
    Parameters
    Type Name Description
    LightType lightType
    Returns
    Type Description
    System.Boolean

    Render(ScriptableRenderContext, Camera[])

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

    RenderPostProcess(CommandBuffer, PostProcessRenderContext, ref CameraData, RenderTextureFormat, RenderTargetIdentifier, RenderTargetIdentifier, Boolean)

    Declaration
    public static void RenderPostProcess(CommandBuffer cmd, PostProcessRenderContext context, ref CameraData cameraData, RenderTextureFormat colorFormat, RenderTargetIdentifier source, RenderTargetIdentifier dest, bool opaqueOnly)
    Parameters
    Type Name Description
    CommandBuffer cmd
    PostProcessRenderContext context
    CameraData cameraData
    RenderTextureFormat colorFormat
    RenderTargetIdentifier source
    RenderTargetIdentifier dest
    System.Boolean opaqueOnly
    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