/// <summary> /// Updates resolution of eye texture /// </summary> void UpdateResolutionEyeTexture() { if (ShowVRVars == true) // limit gc { int w = 0, h = 0; OVRDevice.GetResolutionEyeTexture(ref w, ref h); strResolutionEyeTexture = System.String.Format("Resolution : {0} x {1}", w, h); } }