Table of Contents

Class SampleOnRenderFrame

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that samples notifications from the sequence whenever there is a new render frame event.

public class SampleOnRenderFrame : Combinator
Inheritance
SampleOnRenderFrame
Inherited Members

Methods

Process<TSource>(IObservable<TSource>)

Samples notifications from an observable sequence whenever there is a new render frame event.

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

Parameters

source IObservable<TSource>

The observable sequence whose notifications will be sampled at each render frame event.

Returns

IObservable<TSource>

The sequence of sampled notifications from the source sequence, emitted at each render frame event.

Type Parameters

TSource

The type of the elements in the source sequence.