opengl – Render 3 textures into an RGB texture?

Flutter has support for external textures, but they have to be RGB. I want to render YUV video to Flutter.

On OpenGL I used to create 3 textures, and upload Y,U,V to each corresponding texture. Then I’d paint the screen using these 3 textures, forming an RGB image.

On Flutter, I need to render to a RGB texture. Is there a way to still do the YUV conversion using OpenGL, and then render to the flutter’s RGB texture?

Maybe rendering to Y,U,V textures and them rendering to the RGB texture from these 3 textures?