Class DrawRenderersCustomPass | High Definition RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class DrawRenderersCustomPass

    DrawRenderers Custom Pass

    Inheritance
    Object
    CustomPass
    DrawRenderersCustomPass
    Inherited Members
    CustomPass.name
    CustomPass.enabled
    CustomPass.targetColorBuffer
    CustomPass.targetDepthBuffer
    CustomPass.clearFlags
    CustomPass.fadeValue
    CustomPass.injectionPoint
    CustomPass.IVersionable<CustomPass.Version>.version
    CustomPass.Cleanup()
    CustomPass.SetCameraRenderTarget(CommandBuffer, Boolean, ClearFlag)
    CustomPass.SetCustomRenderTarget(CommandBuffer, Boolean, ClearFlag)
    CustomPass.SetRenderTargetAuto(CommandBuffer)
    CustomPass.ResolveMSAAColorBuffer(CommandBuffer, HDCamera)
    CustomPass.GetCameraBuffers(RTHandle, RTHandle)
    CustomPass.GetCustomBuffers(RTHandle, RTHandle)
    CustomPass.GetNormalBuffer()
    CustomPass.GetRenderQueueRange(CustomPass.RenderQueueType)
    CustomPass.CreateFullScreenPass(Material, CustomPass.TargetBuffer, CustomPass.TargetBuffer)
    CustomPass.CreateDrawRenderersPass(CustomPass.RenderQueueType, LayerMask, Material, String, SortingCriteria, ClearFlag, CustomPass.TargetBuffer, CustomPass.TargetBuffer)
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public class DrawRenderersCustomPass : CustomPass, IVersionable<CustomPass.Version>

    Fields

    depthCompareFunction

    Declaration
    public CompareFunction depthCompareFunction
    Field Value
    Type Description
    CompareFunction

    depthWrite

    Declaration
    public bool depthWrite
    Field Value
    Type Description
    Boolean

    filterFoldout

    Declaration
    public bool filterFoldout
    Field Value
    Type Description
    Boolean

    layerMask

    Declaration
    public LayerMask layerMask
    Field Value
    Type Description
    LayerMask

    overrideDepthState

    Declaration
    public bool overrideDepthState
    Field Value
    Type Description
    Boolean

    overrideMaterial

    Declaration
    public Material overrideMaterial
    Field Value
    Type Description
    Material

    overrideMaterialPassName

    Declaration
    public string overrideMaterialPassName
    Field Value
    Type Description
    String

    passNames

    Declaration
    public string[] passNames
    Field Value
    Type Description
    String[]

    rendererFoldout

    Declaration
    public bool rendererFoldout
    Field Value
    Type Description
    Boolean

    renderQueueType

    Declaration
    public CustomPass.RenderQueueType renderQueueType
    Field Value
    Type Description
    CustomPass.RenderQueueType

    shaderPass

    Declaration
    public DrawRenderersCustomPass.ShaderPass shaderPass
    Field Value
    Type Description
    DrawRenderersCustomPass.ShaderPass

    sortingCriteria

    Declaration
    public SortingCriteria sortingCriteria
    Field Value
    Type Description
    SortingCriteria

    Methods

    AggregateCullingParameters(ref ScriptableCullingParameters, HDCamera)

    Declaration
    protected override void AggregateCullingParameters(ref ScriptableCullingParameters cullingParameters, HDCamera hdCamera)
    Parameters
    Type Name Description
    ScriptableCullingParameters cullingParameters
    HDCamera hdCamera
    Overrides
    CustomPass.AggregateCullingParameters(ref ScriptableCullingParameters, HDCamera)

    Execute(ScriptableRenderContext, CommandBuffer, HDCamera, CullingResults)

    Execute the DrawRenderers with parameters setup from the editor

    Declaration
    protected override void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    CommandBuffer cmd
    HDCamera hdCamera
    CullingResults cullingResult
    Overrides
    CustomPass.Execute(ScriptableRenderContext, CommandBuffer, HDCamera, CullingResults)

    GetShaderTagIds()

    Declaration
    protected ShaderTagId[] GetShaderTagIds()
    Returns
    Type Description
    ShaderTagId[]

    Setup(ScriptableRenderContext, CommandBuffer)

    Declaration
    protected override void Setup(ScriptableRenderContext renderContext, CommandBuffer cmd)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    CommandBuffer cmd
    Overrides
    CustomPass.Setup(ScriptableRenderContext, CommandBuffer)
    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