我的Flutter应用需要显示3D模型并允许用户旋转它。我通过本机视图(ViewController和Activity)和用于渲染的C ++代码实现了此步骤,下一步,我尝试使用Texture小部件删除本机视图并仅使用Flutter。我设法通过FlutterTexture在iOS上显示OpenGL渲染,但不了解如何在Android上实现。您能否显示任何示例如何将OpenGL与SurfaceTexture一起使用并将其连接到Texture小部件?
android opengl-es flutter
android ×1
flutter ×1
opengl-es ×1