PixelTransform

Renders a composited Screen to an output Surface.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var backgroundColor: Int

Specifies the background color.

Link copied to clipboard
abstract val context: Context

The current application environment.

Link copied to clipboard
abstract var frameRate: Int

The target output frame rate, in frames per second.

Link copied to clipboard
abstract var imageExtent: Size

The output dimensions, in pixels.

Link copied to clipboard
abstract var screen: Screen?

The screen to render, or null when no screen is attached.

Link copied to clipboard
abstract var surface: Surface?

The destination surface, or null when no output is attached.

Link copied to clipboard
abstract var videoEffect: VideoEffect

The effect applied to rendered video, such as monochrome or sepia.

Link copied to clipboard

How the video is scaled to fit the output surface.

Functions

Link copied to clipboard
open override fun close()

Releases rendering resources.