# BaseFilterRender

@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2)
abstract class BaseFilterRender : BaseRenderOffScreen

Created by pedro on 29/01/18.

#### Inheritors

RGBSaturationFilterRender
SharpnessFilterRender
RippleFilterRender
GlitchFilterRender
FireFilterRender
MoneyFilterRender
CircleFilterRender
ContrastFilterRender
BeautyFilterRender
RainbowFilterRender
BasicDeformationFilterRender
CartoonFilterRender
ChromaFilterRender
SepiaFilterRender
NoFilterRender
Image70sFilterRender
LamoishFilterRender
BlackFilterRender
SaturationFilterRender
AnalogTVFilterRender
BlurFilterRender
TemperatureFilterRender
EarlyBirdFilterRender
PixelatedFilterRender
ColorFilterRender
BrightnessFilterRender
EdgeDetectionFilterRender
GreyScaleFilterRender
ZebraFilterRender
HalftoneLinesFilterRender
DuotoneFilterRender
SwirlFilterRender
RotationFilterRender
SnowFilterRender
GammaFilterRender
NegativeFilterRender
ExposureFilterRender
PolygonizationFilterRender
AndroidViewFilterRender
ChromaticAberrationFilterRender
CropFilterRender
DistortedTvFilterRender
NoiseFilterRender
BaseObjectFilterRender

## Constructors

BaseFilterRender
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
open fun initGl(width: Int, height: Int, context: Context, previewWidth: Int, previewHeight: Int)
release
Link copied to clipboard
abstract fun release()
setPreviewSize
Link copied to clipboard
open fun setPreviewSize(previewWidth: Int, previewHeight: Int)
setPreviousTexId
Link copied to clipboard
open fun setPreviousTexId(texId: Int)