Builder

class Builder

Builder for creating Stream instances.

By default, Stream objects are ACQUIRED and must have external images pushed to them. To create a NATIVE stream, call the deprecated stream() method on the builder.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(engine: Engine): Stream

Creates the Stream object and associates it with the given Engine.

Link copied to clipboard
fun height(height: Int): Stream.Builder

Sets the initial height of the incoming stream in pixels.

Link copied to clipboard

Associates an optional name with this Stream for debugging purposes.

Link copied to clipboard
fun width(width: Int): Stream.Builder

Sets the initial width of the incoming stream in pixels.