This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Unity.Barracuda; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class DepthSensor : MonoBehaviour | |
{ | |
[SerializeField] private NNModel _monoDepthONNX; | |
[SerializeField] private RawImage _sourceImageView; | |
[SerializeField] private RawImage _destinationImageView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#define SHADER_COMPILATION_LOGGING | |
//#define SKIP_SHADER_COMPILATION | |
using System.Collections.Generic; | |
using UnityEditor.Build; | |
using UnityEditor.Rendering; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
public class ShaderStripper : IPreprocessShaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.prefab merge=unityyamlmerge eol=lf |