Struct GlobalDynamicResolutionSettings | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct GlobalDynamicResolutionSettings

    User-facing settings for dynamic resolution.

    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public struct GlobalDynamicResolutionSettings

    Fields

    dynResType

    The type of dynamic resolution method.

    Declaration
    public DynamicResolutionType dynResType
    Field Value
    Type Description
    DynamicResolutionType

    enabled

    Select whether the dynamic resolution is enabled or not.

    Declaration
    public bool enabled
    Field Value
    Type Description
    Boolean

    forcedPercentage

    The resolution percentage forced in case forceResolution is set to true.

    Declaration
    public float forcedPercentage
    Field Value
    Type Description
    Single

    forceResolution

    Select whether dynamic resolution system will force a specific resolution percentage.

    Declaration
    public bool forceResolution
    Field Value
    Type Description
    Boolean

    maxPercentage

    The maximum resolution percentage that dynamic resolution can reach.

    Declaration
    public float maxPercentage
    Field Value
    Type Description
    Single

    minPercentage

    The minimum resolution percentage that dynamic resolution can reach.

    Declaration
    public float minPercentage
    Field Value
    Type Description
    Single

    upsampleFilter

    The type of upscaling filter to use.

    Declaration
    public DynamicResUpscaleFilter upsampleFilter
    Field Value
    Type Description
    DynamicResUpscaleFilter

    Methods

    NewDefault()

    Default GlobalDynamicResolutionSettings

    Declaration
    public static GlobalDynamicResolutionSettings NewDefault()
    Returns
    Type Description
    GlobalDynamicResolutionSettings
    In This Article
    • Fields
      • dynResType
      • enabled
      • forcedPercentage
      • forceResolution
      • maxPercentage
      • minPercentage
      • upsampleFilter
    • Methods
      • NewDefault()
    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