EdgeDetectionFilterRender

Constructors

Link copied to clipboard
constructor(performanceMode: Boolean)
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
Link copied to clipboard
protected open var width: 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 setBackgroundColor(resources: Resources, colorResource: Int)
Get string color from color file resource and strip alpha values (alpha values is always auto completed)
Link copied to clipboard
open fun setBackgroundRGBColor(rgbHexColor: String)

open fun setBackgroundRGBColor(r: Int, g: Int, b: Int)
Values range 0 to 255
Link copied to clipboard
open fun setEdgeColor(resources: Resources, colorResource: Int)
Get string color from color file resource and strip alpha values (alpha values is always auto completed)
Link copied to clipboard
open fun setEdgeRGBColor(rgbHexColor: String)

open fun setEdgeRGBColor(r: Int, g: Int, b: Int)
Values range 0 to 255
Link copied to clipboard
open fun setEdgeSize(edgeSize: Float)
Link copied to clipboard
open fun setPreviewSize(previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open fun setPreviousTexId(texId: Int)