Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process<TSource>(IObservable<TSource>)

Renders all currently stored draw commands to one of the cubemap textures whenever an observable sequence emits a notification. Each pass renders one face of the cubemap in the order +X, -X, +Y, -Y, +Z, -Z.

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

Parameters

source IObservable<TSource>

The sequence of notifications used to render each of the cubemap faces.

Returns

IObservable<Texture>

A sequence returning the Texture object representing the cubemap texture, whenever all six faces of the cubemap have been updated.

Type Parameters

TSource

The type of the elements in the source sequence.