FullFrameRect

open class FullFrameRect

This class essentially represents a viewport-sized sprite that will be rendered with a texture, usually from an external source like the camera or video decoder.

Constructors

Link copied to clipboard
constructor(program: Texture2dProgram)
Prepares the object.

Functions

Link copied to clipboard
open fun changeProgram(program: Texture2dProgram)
Changes the program.
Link copied to clipboard
Creates a texture object suitable for use with drawFrame().
Link copied to clipboard
open fun drawFrame(textureId: Int, texMatrix: Array<Float>)
Draws a viewport-filling rect, texturing it with the specified texture object.
Link copied to clipboard
Returns the program currently in use.
Link copied to clipboard
open fun release(doEglCleanup: Boolean)
Releases resources.