Table of Contents

Method WindowUpdate

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

WindowUpdate(Action<ShaderWindow>)

Invokes an action on the next update of the active shader window and returns the window instance through an observable sequence.

public static IObservable<ShaderWindow> WindowUpdate(Action<ShaderWindow> update)

Parameters

update Action<ShaderWindow>

The action to invoke on the next update of the active shader window.

Returns

IObservable<ShaderWindow>

An observable sequence returning the active ShaderWindow instance immediately after the action has been invoked.