Unity3D WebCamTexture graphicsFormat 值不存在

问题描述

我想检查我的 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。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)