Table of Contents

Method Process

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Process(IObservable<INativeWindow>)

Bundles a set of resources to be loaded into the shader window resource manager.

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

Parameters

source IObservable<INativeWindow>

A sequence of INativeWindow objects into which the resources will be loaded.

Returns

IObservable<ResourceConfigurationCollection>

A sequence of ResourceConfigurationCollection objects which can be used to load resources into the resource manager.

Process<TEventArgs>(IObservable<EventPattern<INativeWindow, TEventArgs>>)

Bundles a set of resources to be loaded into the shader window resource manager when an observable sequence of window events emits a notification.

public IObservable<ResourceConfigurationCollection> Process<TEventArgs>(IObservable<EventPattern<INativeWindow, TEventArgs>> source)

Parameters

source IObservable<EventPattern<INativeWindow, TEventArgs>>

A sequence of event data generated from a shader window.

Returns

IObservable<ResourceConfigurationCollection>

A sequence of ResourceConfigurationCollection objects which can be used to load resources into the resource manager.

Type Parameters

TEventArgs

The type of the event data generated by the window event.