Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process<TSource>(IObservable<TSource>)

Renders all currently stored draw commands to a texture whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence of notifications used to start the render to texture.

Returns

IObservable<Texture>

A sequence returning the Texture object representing the render target, whenever the render to texture operation completes.

Type Parameters

TSource

The type of the elements in the source sequence.