【发布时间】:2021-06-16 18:17:21
【问题描述】:
我想检查我的 WebCamTexture 使用的是哪个 UnityEngine.Experimental.Rendering.GraphicsFormat。
WebCamTexture webCam = new WebCamTexture();
Debug.Log($"Graphics Format is {webCam.graphicsFormat}");
输出是Graphics Format is 88,但 88 似乎不在 GraphicsFormat 枚举中,它上升到 86,然后继续到 96。
那么 WebCamTexture 使用的是哪种格式?
编辑:我在这个项目中使用 Unity 2019.4.21f1。
【问题讨论】:
标签: c# unity3d graphics texture2d