Table of Contents

Method Generate

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Generate()

Generates an observable sequence that returns an image texture sequence initialized from the specified movie file or image sequence pattern.

public override IObservable<Texture> Generate()

Returns

IObservable<Texture>

A sequence containing a single instance of the Texture class representing the image texture sequence.

Generate<TSource>(IObservable<TSource>)

Returns an image texture sequence initialized from the specified movie file or image sequence pattern whenever an observable sequence emits a notification.

public IObservable<Texture> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used to start loading a new image texture sequence.

Returns

IObservable<Texture>

The sequence of Texture objects initialized from the specified movie file or image sequence pattern whenever the source sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.