How can I convert the color format to RGB by sending an OpenCV mat object that comes from the camera buffer and contains data in UYVY format into the shader in OpenGL ES 3.0. If you have, can you share a sample code about this topic?
I examined similar questions I found below, but I did not get successful results.
iOS - How to draw a YUV image using openGL Is it possible to draw YUV422 and YUV420 texture using openGL