docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GlobalGPUResidentDrawerSettings

    User-facing settings for GPU Resident Drawer draw submission settings.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public struct GlobalGPUResidentDrawerSettings

    Fields

    enableOcclusionCullingInCameras

    Enables occlusion culling in cameras

    Declaration
    public bool enableOcclusionCullingInCameras
    Field Value
    Type Description
    bool

    mode

    batching mode of macro batcher.

    Declaration
    public GPUResidentDrawerMode mode
    Field Value
    Type Description
    GPUResidentDrawerMode

    smallMeshScreenPercentage

    Default minimum screen percentage (0-20%) gpu-driven Renderers can cover before getting culled.

    Declaration
    public float smallMeshScreenPercentage
    Field Value
    Type Description
    float

    useDepthPrepassForOccluders

    Uses the depth prepass for occluders

    Declaration
    public bool useDepthPrepassForOccluders
    Field Value
    Type Description
    bool

    Methods

    NewDefault()

    Default GlobalImprovedDrawSubmissionSettings

    Declaration
    public static GlobalGPUResidentDrawerSettings NewDefault()
    Returns
    Type Description
    GlobalGPUResidentDrawerSettings

    Default value for GlobalImprovedDrawSubmissionSettings

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)