Table of Contents

Class DispatchShaderQueue

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that immediately starts processing the specified shader work queue whenever the sequence emits a notification.

public class DispatchShaderQueue : Sink
Inheritance
DispatchShaderQueue
Inherited Members

Properties

ShaderName

Gets or sets the name of the shader program.

[TypeConverter(typeof(ShaderNameConverter))]
public string ShaderName { get; set; }

Property Value

string

Methods

Process<TSource>(IObservable<TSource>)

Immediately starts processing the specified shader work queue whenever the source sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used to start processing the specified shader work queue.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of immediately start processing the specified shader work queue whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.