docs.unity.cn
    Show / Hide Table of Contents

    Class UniversalRenderingData

    Contains the data for general renderer settings.

    Inheritance
    Object
    UnityEngine.Rendering.ContextItem
    UniversalRenderingData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public class UniversalRenderingData : ContextItem

    Fields

    cullResults

    Returns culling results that exposes handles to visible objects, lights and probes. You can use this to draw objects with ScriptableRenderContext.DrawRenderers CullingResults ScriptableRenderContext

    Declaration
    public CullingResults cullResults
    Field Value
    Type Description
    CullingResults

    perObjectData

    Holds per-object data that are requested when drawing PerObjectData

    Declaration
    public PerObjectData perObjectData
    Field Value
    Type Description
    PerObjectData

    supportsDynamicBatching

    True if the pipeline supports dynamic batching. This settings doesn't apply when drawing shadow casters. Dynamic batching is always disabled when drawing shadow casters.

    Declaration
    public bool supportsDynamicBatching
    Field Value
    Type Description
    Boolean

    Properties

    renderingMode

    The Rendering mode used by the renderer in the current frame. Note that this may sometimes be different from what is set in the Renderer asset, for example when the hardware not capable of deferred rendering or when doing wireframe rendering.

    Declaration
    public RenderingMode renderingMode { get; }
    Property Value
    Type Description
    RenderingMode

    Methods

    Reset()

    Declaration
    public override void Reset()
    Overrides
    UnityEngine.Rendering.ContextItem.Reset()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023