public SerializedRenderPipelineSettings(SerializedProperty root)
        {
            this.root = root;

            supportShadowMask           = root.Find((RenderPipelineSettings s) => s.supportShadowMask);
            supportSSR                  = root.Find((RenderPipelineSettings s) => s.supportSSR);
            supportSSAO                 = root.Find((RenderPipelineSettings s) => s.supportSSAO);
            supportDBuffer              = root.Find((RenderPipelineSettings s) => s.supportDBuffer);
            supportMSAA                 = root.Find((RenderPipelineSettings s) => s.supportMSAA);
            MSAASampleCount             = root.Find((RenderPipelineSettings s) => s.msaaSampleCount);
            supportSubsurfaceScattering = root.Find((RenderPipelineSettings s) => s.supportSubsurfaceScattering);
            supportForwardOnly          = root.Find((RenderPipelineSettings s) => s.supportForwardOnly);
            supportMotionVectors        = root.Find((RenderPipelineSettings s) => s.supportMotionVectors);
            supportStereo               = root.Find((RenderPipelineSettings s) => s.supportStereo);

            lightLoopSettings = new SerializedGlobalLightLoopSettings(root.Find((RenderPipelineSettings s) => s.lightLoopSettings));
            shadowInitParams  = new SerializedShadowInitParameters(root.Find((RenderPipelineSettings s) => s.shadowInitParams));
            decalSettings     = new SerializedGlobalDecalSettings(root.Find((RenderPipelineSettings s) => s.decalSettings));
        }
Пример #2
0
        public SerializedRenderPipelineSettings(SerializedProperty root)
        {
            this.root = root;

            supportShadowMask           = root.Find((RenderPipelineSettings s) => s.supportShadowMask);
            supportSSR                  = root.Find((RenderPipelineSettings s) => s.supportSSR);
            supportSSAO                 = root.Find((RenderPipelineSettings s) => s.supportSSAO);
            supportDBuffer              = root.Find((RenderPipelineSettings s) => s.supportDBuffer);
            supportMSAA                 = root.Find((RenderPipelineSettings s) => s.supportMSAA);
            MSAASampleCount             = root.Find((RenderPipelineSettings s) => s.msaaSampleCount);
            supportSubsurfaceScattering = root.Find((RenderPipelineSettings s) => s.supportSubsurfaceScattering);
            supportOnlyForward          = root.Find((RenderPipelineSettings s) => s.supportOnlyForward);
            supportMotionVectors        = root.Find((RenderPipelineSettings s) => s.supportMotionVectors);
            supportStereo               = root.Find((RenderPipelineSettings s) => s.supportStereo);
            enableUltraQualitySSS       = root.Find((RenderPipelineSettings s) => s.enableUltraQualitySSS);
            supportVolumetric           = root.Find((RenderPipelineSettings s) => s.supportVolumetric);
            supportRuntimeDebugDisplay  = root.Find((RenderPipelineSettings s) => s.supportRuntimeDebugDisplay);

            lightLoopSettings = new SerializedGlobalLightLoopSettings(root.Find((RenderPipelineSettings s) => s.lightLoopSettings));
            shadowInitParams  = new SerializedShadowInitParameters(root.Find((RenderPipelineSettings s) => s.shadowInitParams));
            decalSettings     = new SerializedGlobalDecalSettings(root.Find((RenderPipelineSettings s) => s.decalSettings));
        }