Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process<TSource>(IObservable<TSource>)

Updates the clear color state of the shader window whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used to update the clear color state of the shader window.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of updating the clear color of the shader window whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.