# ScreenRender

@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2)
open class ScreenRender

Created by pedro on 29/01/18.

## Constructors

ScreenRender
Link copied to clipboard
constructor()

## Functions

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