Exemple #1
0
    void OnEnable()
    {
        // Binds the dynamic resolution policy defined above.
        DynamicResolutionHandler.SetDynamicResScaler(SetScaleDirect, DynamicResScalePolicyType.ReturnsMinMaxLerpFactor);

        // if (GraphicsSettings.currentRenderPipeline is HDRenderPipelineAsset hdrp)
        // {
        //     hdrp.
        // }
    }
 void OnEnable()
 {
     // Binds the dynamic resolution policy defined above.
     DynamicResolutionHandler.SetDynamicResScaler(SetDynamicResolutionScale,
                                                  DynamicResScalePolicyType.ReturnsMinMaxLerpFactor);
 }