toggle menu
RootEncoder
androidJvm
switch theme
search in API
encoder
/
com.pedro.encoder.input.gl.render
/
BaseRenderOffScreen
Base
Render
Off
Screen
@
RequiresApi
(
api
=
Build.VERSION_CODES.JELLY_BEAN_MR2
)
abstract
class
BaseRenderOffScreen
Created by pedro on 29/01/18.
Inheritors
CameraRender
BaseFilterRender
Members
Constructors
Base
Render
Off
Screen
Link copied to clipboard
constructor
(
)
Properties
FLOAT_SIZE_BYTES
Link copied to clipboard
val
FLOAT_SIZE_BYTES
:
Int
=
4
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
Functions
draw
Link copied to clipboard
abstract
fun
draw
(
)
get
Tex
Id
Link copied to clipboard
open
fun
getTexId
(
)
:
Int
init
Gl
Link copied to clipboard
abstract
fun
initGl
(
width
:
Int
,
height
:
Int
,
context
:
Context
,
previewWidth
:
Int
,
previewHeight
:
Int
)
release
Link copied to clipboard
abstract
fun
release
(
)