library / com.otaliastudios.zoom / ZoomSurfaceView / onDraw

onDraw

@WorkerThread protected open fun onDraw(modelMatrix: FloatArray, textureTransformMatrix: FloatArray): Unit

Called on the renderer thread when the texture is being drawn. You can, if needed, perform extra transformation by editing the textureTransformMatrix or the modelMatrix using the android.opengl.Matrix utilities.