render

fun render(timestampNs: Long, textureTransform: FloatArray, surface: Surface, viewportRect: Rect)

Renders the texture image to the output surface.

Throws

if the renderer is not initialized, the caller doesn't run on the GL thread or the surface is not registered by .registerOutputSurface.