public void Reset()
 {
     m_Camera           = null;
     width              = 0;
     height             = 0;
     m_sourceDescriptor = new RenderTextureDescriptor(0, 0);
     stereoActive       = false;
     xrActiveEye        = 0;
     screenWidth        = 0;
     screenHeight       = 0;
     command            = null;
     source             = 0;
     destination        = 0;
     sourceFormat       = RenderTextureFormat.ARGB32;
     flip                 = false;
     resources            = null;
     propertySheets       = null;
     debugLayer           = null;
     isSceneView          = false;
     antialiasing         = PostProcessLayer.Antialiasing.None;
     temporalAntialiasing = null;
     uberSheet            = null;
     autoExposureTexture  = null;
     logLut               = null;
     autoExposure         = null;
     bloomBufferNameID    = -1;
     if (userData == null)
     {
         userData = new Dictionary <string, object>();
     }
     userData.Clear();
 }
Ejemplo n.º 2
0
        public void Reset()
        {
            m_Camera = null;
            width    = 0;
            height   = 0;

            xrActiveEye       = (int)Camera.StereoscopicEye.Left;
            xrSingleEyeWidth  = 0;
            xrSingleEyeHeight = 0;

            command      = null;
            source       = 0;
            destination  = 0;
            sourceFormat = RenderTextureFormat.ARGB32;
            flip         = false;

            resources            = null;
            propertySheets       = null;
            debugLayer           = null;
            isSceneView          = false;
            antialiasing         = PostProcessLayer.Antialiasing.None;
            temporalAntialiasing = null;

            uberSheet           = null;
            autoExposureTexture = null;
            logLut       = null;
            autoExposure = null;

            if (userData == null)
            {
                userData = new Dictionary <string, object>();
            }

            userData.Clear();
        }