FScapeRenderingImpl

class Object
trait Matchable
class Any

Type members

Classlikes

final
class CacheValue(val resources: List[Value], val data: Map[String, Array[Byte]])
Companion
object
object CacheValue
Companion
class
trait WithState[T <: Txn[T]] extends Rendering[T]

Types

type CacheKey = Long

Value members

Concrete methods

def acquire[T <: Txn[LazyRef(...)]](key: CacheKey)(source: => Future[CacheValue])(implicit tx: T): Future[CacheValue]
def apply[T <: Txn[LazyRef(...)]](fscape: FScape[T], config: Config, attr: Attr[T], force: Boolean)(implicit tx: T, universe: Universe[T]): Rendering[T]

Creates a rendering with the default UGenGraphBuilder.Context.

Creates a rendering with the default UGenGraphBuilder.Context.

Value Params
config

configuration for the stream control

force

if true, always renders even if there are no outputs.

fscape

the fscape object whose graph is to be rendered

def apply[T <: Txn[LazyRef(...)]](fscape: FScape[T], ugbContext: Context[T], config: Config, force: Boolean)(implicit tx: T, universe: Universe[T]): Rendering[T]

Creates a rendering with the custom UGenGraphBuilder.Context.

Creates a rendering with the custom UGenGraphBuilder.Context.

Value Params
config

configuration for the stream control

force

if true, always renders even if there are no outputs.

fscape

the fscape object whose graph is to be rendered

ugbContext

the graph builder context that responds to input requests

def release[T <: Txn[LazyRef(...)]](key: CacheKey)(implicit tx: T): Boolean
def withState[T <: Txn[LazyRef(...)]](uState: State[T], force: Boolean)(implicit tx: T, control: Control, cursor: Cursor[T]): WithState[T]

Turns a built UGen graph into a rendering instance. Used by TxnSon.

Turns a built UGen graph into a rendering instance. Used by TxnSon.

Value Params
force

if true forces rendering of graphs that do not produce outputs

uState

the result of building, either complete or incomplete

Returns

a rendering, either cached, or newly started, or directly aborted if the graph was incomplete

Concrete fields

var DEBUG: Boolean