更新时间:2023-11-17 22:12:19
几个月前,我不得不做类似的任务,发现正确的管道正在Unity中创建纹理,并在C和最终在Java层中对其进行更新.
I had to do a similar task a couple of months ago and found out that the correct pipeline is creating a texture in Unity, obtaining a native pointer in C and finally updating it in the Java layer.
请看一下这个示例项目,它应该给您不同的视角.
Please take a look at this sample project, it should give you a different perspective.
https://github.com/robsondepaula/unity-android-native-camera
致谢