# BlackFilterRender

@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2)
open class BlackFilterRender : BaseFilterRender

Created by pedro on 29/01/18.

## Constructors

BlackFilterRender
Link copied to clipboard
constructor()

## Properties

FLOAT_SIZE_BYTES
Link copied to clipboard
val FLOAT_SIZE_BYTES: Int = 4
previewHeight
Link copied to clipboard
open val previewHeight: Int
previewWidth
Link copied to clipboard
open val previewWidth: Int
renderHandler
Link copied to clipboard
open var renderHandler: RenderHandler
renderMode
Link copied to clipboard
open var renderMode: RenderMode
SQUARE_VERTEX_DATA_POS_OFFSET
Link copied to clipboard
val SQUARE_VERTEX_DATA_POS_OFFSET: Int = 0
SQUARE_VERTEX_DATA_STRIDE_BYTES
Link copied to clipboard
val SQUARE_VERTEX_DATA_STRIDE_BYTES: Int = 20
SQUARE_VERTEX_DATA_UV_OFFSET
Link copied to clipboard
val SQUARE_VERTEX_DATA_UV_OFFSET: Int = 3
width
Link copied to clipboard
protected open var width: Int

## Functions

draw
Link copied to clipboard
open fun draw()
getPreviousTexId
Link copied to clipboard
open fun getPreviousTexId(): Int
getTexId
Link copied to clipboard
open fun getTexId(): Int
initFBOLink
Link copied to clipboard
open fun initFBOLink()
initGl
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)
release
Link copied to clipboard
open fun release()
setPreviewSize
Link copied to clipboard
open fun setPreviewSize(previewWidth: Int, previewHeight: Int)
setPreviousTexId
Link copied to clipboard
open fun setPreviousTexId(texId: Int)