ScreenRender

Created by pedro on 29/01/18.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun draw(width: Int, height: Int, mode: AspectRatioMode, rotation: Int, flipStreamVertical: Boolean, flipStreamHorizontal: Boolean)
Link copied to clipboard
open fun drawEncoder(width: Int, height: Int, isPortrait: Boolean, rotation: Int, flipStreamVertical: Boolean, flipStreamHorizontal: Boolean)
Link copied to clipboard
open fun drawPreview(width: Int, height: Int, isPortrait: Boolean, mode: AspectRatioMode, rotation: Int, flipStreamVertical: Boolean, flipStreamHorizontal: Boolean)
Link copied to clipboard
open fun initGl(context: Context)
Link copied to clipboard
open fun release()
Link copied to clipboard
open fun setStreamSize(streamWidth: Int, streamHeight: Int)
Link copied to clipboard
open fun setTexId(texId: Int)