GlPreview

class GlPreview(texTarget: Int) : GlFilter

Types

Companion
Link copied to clipboard
object Companion

Functions

draw
Link copied to clipboard
open fun draw(texName: Int, fbo: GlFramebufferObject?)
fun draw(texName: Int, mvpMatrix: FloatArray?, stMatrix: FloatArray?, aspectRatio: Float)
release
Link copied to clipboard
open fun release()
setClearColor
Link copied to clipboard
fun setClearColor(red: Float, green: Float, blue: Float, alpha: Float)
setFragmentShaderSource
Link copied to clipboard
fun setFragmentShaderSource(fragmentShaderSource: String)
setFrameSize
Link copied to clipboard
open fun setFrameSize(width: Int, height: Int)
setup
Link copied to clipboard
open override fun setup()

Properties

clearColor
Link copied to clipboard
var clearColor: FloatArray