docs.unity3d.com
    Show / Hide Table of Contents

    Struct RendererListDesc

    Renderer list creation descriptor.

    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    [Obsolete("Use the updated RendererList API which is defined in the UnityEngine.Rendering.RendererUtils namespace.")]
    public struct RendererListDesc

    Constructors

    RendererListDesc(ShaderTagId, CullingResults, Camera)

    RendererListDesc constructor

    Declaration
    public RendererListDesc(ShaderTagId passName, CullingResults cullingResult, Camera camera)
    Parameters
    Type Name Description
    ShaderTagId passName

    Pass name used for this renderer list.

    CullingResults cullingResult

    Culling result used to create the renderer list.

    Camera camera

    Camera used to determine sorting parameters.

    RendererListDesc(ShaderTagId[], CullingResults, Camera)

    RendererListDesc constructor

    Declaration
    public RendererListDesc(ShaderTagId[] passNames, CullingResults cullingResult, Camera camera)
    Parameters
    Type Name Description
    ShaderTagId[] passNames

    List of pass names used for this renderer list.

    CullingResults cullingResult

    Culling result used to create the renderer list.

    Camera camera

    Camera used to determine sorting parameters.

    Fields

    excludeObjectMotionVectors

    Exclude object with motion from this renderer list.

    Declaration
    public bool excludeObjectMotionVectors
    Field Value
    Type Description
    Boolean

    layerMask

    Rendering layer mask used for filtering this renderer list.

    Declaration
    public int layerMask
    Field Value
    Type Description
    Int32

    overrideMaterial

    Override material for this renderer list.

    Declaration
    public Material overrideMaterial
    Field Value
    Type Description
    Material

    overrideMaterialPassIndex

    Pass index for the override material.

    Declaration
    public int overrideMaterialPassIndex
    Field Value
    Type Description
    Int32

    rendererConfiguration

    PerObjectData configuration for this renderer list.

    Declaration
    public PerObjectData rendererConfiguration
    Field Value
    Type Description
    PerObjectData

    renderQueueRange

    RenderQueueRange of this renderer list.

    Declaration
    public RenderQueueRange renderQueueRange
    Field Value
    Type Description
    RenderQueueRange

    sortingCriteria

    SortingCriteria for this renderer list.

    Declaration
    public SortingCriteria sortingCriteria
    Field Value
    Type Description
    SortingCriteria

    stateBlock

    Optional RenderStateBlock for this renderer list.

    Declaration
    public RenderStateBlock? stateBlock
    Field Value
    Type Description
    Nullable<RenderStateBlock>

    Methods

    IsValid()

    Returns true if the descriptor is valid.

    Declaration
    public bool IsValid()
    Returns
    Type Description
    Boolean

    True if the descriptor is valid.

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    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