Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process(IObservable<ShaderWindow>)

Updates the render state of each shader window in an observable sequence.

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

Parameters

source IObservable<ShaderWindow>

The sequence of shader windows to update.

Returns

IObservable<ShaderWindow>

An observable sequence that is identical to the source sequence but where there is an additional side effect of updating the render state of each shader window in the sequence.

Process(IObservable<ResourceConfigurationCollection>)

Updates the render state of the shader window contained in each set of resources in an observable sequence.

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

Parameters

source IObservable<ResourceConfigurationCollection>

A sequence of ResourceConfigurationCollection objects containing the shader windows to update.

Returns

IObservable<ResourceConfigurationCollection>

An observable sequence that is identical to the source sequence but where there is an additional side effect of updating the render state of the shader window contained in each set of resources in the sequence.

Process<TSource>(IObservable<TSource>)

Updates the render 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 render 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 render state of the shader window whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.