RotationFilterRender

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
open val previewHeight: Int
Link copied to clipboard
open val previewWidth: Int
Link copied to clipboard
Link copied to clipboard
open var rotation: Int

Functions

Link copied to clipboard
open fun draw()
Link copied to clipboard
open fun getPreviousTexId(): Int
Link copied to clipboard
open fun getTexId(): Int
Link copied to clipboard
open fun initFBOLink()
Link copied to clipboard
abstract fun initGl(width: Int, height: Int, context: Context, previewWidth: Int, previewHeight: Int)
open fun initGl(width: Int, height: Int, context: Context, previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open fun release()
Link copied to clipboard
open fun setPreviewSize(previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open fun setPreviousTexId(texId: Int)
Link copied to clipboard
open fun setRotationFixed(rotation: Int, width: Int, height: Int, isPortrait: Boolean)
Keep aspect ratio if you rotate 90º or 270º.