Class GLFramePixelBufferRenderer

java.lang.Object
com.banuba.sdk.internal.gl.GLFrameSurfaceHandler
com.banuba.sdk.internal.gl.GLFramePixelBufferRenderer
All Implemented Interfaces:
IOrientable, Closeable, AutoCloseable

public class GLFramePixelBufferRenderer extends GLFrameSurfaceHandler
Helps draw a FramePixelBuffer with any format. IMPORTANT: For this class to work, you need to initialize OpenGL, create a context, create an instance of this class in the OpenGL context. And before calling the draw(...) function, you need to initialize the viewport. And after drawing, you need to call swapBuffers() your surface.