Table of Contents

Class ShaderManager

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Provides functionality for accessing shader window resources and scheduling actions on the main render loop.

public static class ShaderManager
Inheritance
ShaderManager
Inherited Members

Properties

WindowSource

Gets an observable sequence containing the active shader window.

Methods

ReserveComputeProgram(string)

Returns an observable sequence that retrieves the compute shader with the specified name.

ReserveMaterial(string)

Returns an observable sequence that retrieves the material shader with the specified name.

ReserveShader(string)

Returns an observable sequence that retrieves the shader with the specified name.

WindowUpdate(Action<ShaderWindow>)

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