Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process<TSource>(IObservable<TSource>)

Draws the specified mesh geometry whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used to start drawing the specified mesh geometry.

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 mesh geometry whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.

Process(IObservable<Mesh>)

Draws each of the mesh geometries in an observable sequence.

public IObservable<Mesh> Process(IObservable<Mesh> source)

Parameters

source IObservable<Mesh>

A sequence of Mesh objects representing the geometry to draw. If MeshName is specified, the named mesh geometry will be used instead.

Returns

IObservable<Mesh>

An observable sequence that is identical to the source sequence but where there is an additional side effect of drawing each of the mesh geometries in the sequence.