Table of Contents

Class DrawScene

Namespace
Bonsai.Shaders.Rendering
Assembly
Bonsai.Shaders.Rendering.dll

Represents an operator that draws the specified scene.

public class DrawScene : Sink
Inheritance
DrawScene
Inherited Members

Remarks

Each scene is assigned to a specific renderer which controls the rendering steps.

Properties

SceneName

Gets or sets the name of the scene to draw.

[TypeConverter(typeof(SceneNameConverter))]
public string SceneName { get; set; }

Property Value

string

Methods

Process<TSource>(IObservable<TSource>)

Draws the specified scene whenever an observable sequence emits a notification.

public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence of notifications used to start drawing the scene.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of drawing the specified scene whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements of the source sequence.